home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_elm.idb / usr / freeware / doc / elm / Ref.cat.z / Ref.cat
Encoding:
Text File  |  1998-10-28  |  130.9 KB  |  2,732 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                TTTThhhheeee EEEEllllmmmm RRRReeeeffffeeeerrrreeeennnncccceeee GGGGuuuuiiiiddddeeee
  20.  
  21.  
  22.  
  23.  
  24.                         _A _c_o_m_p_r_e_h_e_n_s_i_v_e _l_i_s_t _o_f _a_l_l _c_o_m_m_a_n_d_s,
  25.                        _o_p_t_i_o_n_s _a_n_d _s_u_c_h _t_o _t_h_e EEEEllllmmmm _m_a_i_l _s_y_s_t_e_m
  26.  
  27.  
  28.  
  29.                                  The Elm Mail System
  30.                                     (Version 2.4)
  31.  
  32.  
  33.                            Syd Weinstein, Elm Coordinator
  34.                                Datacomp Systems, Inc.
  35.                                    3837 Byron Road
  36.                           Huntingdon Valley, PA 19006-2320
  37.  
  38.                           email: elm@DSI.COM  or  dsinc!elm
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.                           Copyright 1986,1987 by Dave Taylor
  56.                   Copyright 1988-1992 by The USENET Community Trust
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.                                TTTThhhheeee EEEEllllmmmm RRRReeeeffffeeeerrrreeeennnncccceeee GGGGuuuuiiiiddddeeee
  79.  
  80.                          (The Elm Mail System, Version 2.4)
  81.  
  82.                                    October 1, 1992
  83.  
  84.  
  85.                                     Syd Weinstein
  86.                                Datacomp Systems, Inc.
  87.                                    3837 Byron Road
  88.                           Huntingdon Valley, PA 19006-2320
  89.  
  90.                           email: elm@DSI.COM  or  dsinc!elm
  91.  
  92.  
  93.                                     Derived from
  94.                          "The Elm Mail System, Version 2.0"
  95.                                          by
  96.                                      Dave Taylor
  97.                                   Intuitive Systems
  98.                               Mountain View, California
  99.                     email: taylor@intuitive.com  or  limbo!taylor
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.           1111....  IIIInnnnttttrrrroooodddduuuuccccttttiiiioooonnnn
  107.  
  108.           There are many parts to a complex software  system  and  TTTThhhheeee  EEEEllllmmmm
  109.           MMMMaaaaiiiillll  SSSSyyyysssstttteeeemmmm  is no different.  This document describes fully all
  110.           the options available in the mailer, including the  command  line
  111.           options,  the  commands  (in considerably more detail than in _T_h_e
  112.           _E_l_m _U_s_e_r_s _G_u_i_d_e) and the ._e_l_m/_e_l_m_r_c file.
  113.  
  114.           To be more explicit, this document covers:  a discussion  of  the
  115.           ._e_l_m/_e_l_m_r_c  file, command line options of Elm, outgoing mail pro-
  116.           cessing, responses of various commands, mail archive folders, the
  117.           Alias  system, system aliases etc, more on the Elm utilities, and
  118.           a section for expert mail users.
  119.  
  120.           Without any further ado, then, let's get this show on the road!!
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.           Elm Reference Guide                                   Version 2.4
  129.  
  130.  
  131.  
  132.  
  133.  
  134.           Elm Reference Guide                                   Version 2.4
  135.  
  136.  
  137.           2222....  TTTThhhheeee ....eeeellllmmmm////eeeellllmmmmrrrrcccc FFFFiiiilllleeee
  138.  
  139.           Elm, like lots of other software on the UNIX(R) system,  has  the
  140.           ability to automatically read in a configuration file at each in-
  141.           vocation.  The file must be called _e_l_m_r_c and reside in  the  ._e_l_m
  142.           directory located in your home directory.  It can have any of the
  143.           entries below, in any order.  If you are missing any entries,  or
  144.           if  you don't have an ._e_l_m/_e_l_m_r_c file, the default values (listed
  145.           below for each option) or those values specified by your  systems
  146.           administrator  in  a system wide _e_l_m._r_c file are used.  Note that
  147.           those options below designated with '*' can be altered using  Elm
  148.           via  the options screen, while those designated with a '+' can be
  149.           placed on the options screen using  the  ccccoooonnnnffffiiiiggggooooppppttttiiiioooonnnnssss  variable.
  150.           Also  note  that  when you save a new ._e_l_m/_e_l_m_r_c file via the '>'
  151.           command of the options screen, it is (re)created  including  only
  152.           those  options that you have changed via your original ._e_l_m/_e_l_m_r_c
  153.           file or via the options screen.
  154.  
  155.           The format for each line of the ._e_l_m/_e_l_m_r_c file is:
  156.  
  157.                variable = value
  158.  
  159.  
  160.           SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss
  161.  
  162.  
  163.           aliassortby*
  164.                     You can have your alias display sorted by  any  of  the
  165.                     following ways:
  166.  
  167.                          alias     Sorts according to  _a_l_i_a_s_n_a_m_e  for  each
  168.                                    address.
  169.  
  170.                          name      Sorts according to _u_s_e_r_n_a_m_e for each ad-
  171.                                    dress.
  172.  
  173.                          text      Presents the aliases in the order  found
  174.                                    in the _a_l_i_a_s_e_s._t_e_x_t file.
  175.  
  176.                     Each of these fields can also optionally  be  prepended
  177.                     with  the  sequence  "reverse-" to reverse the order of
  178.                     the sort.  This doesn't imply anything about the  order
  179.                     of  the message in the _a_l_i_a_s_e_s._t_e_x_t file itself and af-
  180.                     fects only their order on the display screen.  The  de-
  181.                     fault is _n_a_m_e order.
  182.  
  183.  
  184.           alteditor+
  185.                     The editor to use when mailing to a  message  that  al-
  186.                     ready  includes  text,  as  the  builtin  editor cannot
  187.  
  188.           __________
  189.           (R)UNIX is  a  registered  trademark  of  UNIX  Systems
  190.           Laboratories.
  191.  
  192.  
  193.           October 1, 1992                                            Page 2
  194.  
  195.  
  196.  
  197.  
  198.  
  199.           Elm Reference Guide                                   Version 2.4
  200.  
  201.  
  202.                     handle that situation.  Messages that  already  include
  203.                     text  are forwarded messages and replies where the ori-
  204.                     ginal message is included in the reply.  This value  is
  205.                     not  needed if the eeeeddddiiiittttoooorrrr variable is not set to "buil-
  206.                     tin".
  207.  
  208.  
  209.           alternatives
  210.                     This is a list of other  machine/username  combinations
  211.                     that  you  receive mail from (forwarded).  This is used
  212.                     when the _g_r_o_u_p _r_e_p_l_y feature is invoked to ensure  that
  213.                     you don't send yourself a copy of the outbound message.
  214.                     The default is a list of no alternatives.
  215.  
  216.  
  217.           attribution
  218.                     When you ffffoooorrrrwwwwaaaarrrrdddd a message or rrrreeeeppppllllyyyy to it, you can  op-
  219.                     tionally  attribute the quoted text to its original au-
  220.                     thor.  Defining the attribution string here allows  you
  221.                     to  indicate the form that the attribution should take.
  222.                     The sequence "%s" in the attribution is replaced by the
  223.                     name of the original author.  Examples are:
  224.  
  225.                          attribution = According to %s:
  226.                          attribution = %s writes:
  227.  
  228.  
  229.           calendar* This is used in conjunction with the '<'  _s_c_a_n  _m_e_s_s_a_g_e
  230.                     _f_o_r _c_a_l_e_n_d_a_r _e_n_t_r_i_e_s command, as the file to append any
  231.                     found calendar entries to.  The default is _c_a_l_e_n_d_a_r  in
  232.                     your home directory.
  233.  
  234.  
  235.           charset   This is the character set  used  for  messages  with  a
  236.                     "Content-Type: text/plain" header.  The default depends
  237.                     on your site's installation, but is  usually  US-ASCII.
  238.                     cccchhhhaaaarrrrsssseeeetttt is only recognized if MIME (Multipurpose Inter-
  239.                     net Mail Extension) support is  configured.  You  could
  240.                     set  cccchhhhaaaarrrrsssseeeetttt  to your preferred national character set,
  241.                     but be aware that there is currently no way  to  change
  242.                     it  online.  Also  you  must be aware that Elm probably
  243.                     needs _m_e_t_a_m_a_i_l to  display  messages  with  cccchhhhaaaarrrrsssseeeetttt=US-
  244.                     ASCII  if  you  change cccchhhhaaaarrrrsssseeeetttt. Elm tries to know which
  245.                     character set could display US-ASCII too, but its  list
  246.                     of compatible character sets is probably not complete.
  247.  
  248.  
  249.           compatcharsets
  250.                     This is the list of character sets which  are  more  or
  251.                     less  a  superset  of  US-ASCII.  This  enables  Elm to
  252.                     display messages with cccchhhhaaaarrrrsssseeeetttt=US-ASCII with the builtin
  253.                     pager,  or  your  preferred  pager,  instead of calling
  254.                     _m_e_t_a_m_a_i_l. ccccoooommmmppppaaaattttcccchhhhaaaarrrrsssseeeettttssss is  only  recognized  if  MIME
  255.                     support  is  configured.  The ISO-8859-X character sets
  256.  
  257.  
  258.           October 1, 1992                                            Page 3
  259.  
  260.  
  261.  
  262.  
  263.  
  264.           Elm Reference Guide                                   Version 2.4
  265.  
  266.  
  267.                     are defaulted.
  268.  
  269.  
  270.           configoptions
  271.                     This is a list of letters that indicate  which  of  the
  272.                     run-time  configurable options you desire placed on the
  273.                     options screen (see section 7, CCCCoooommmmmmmmaaaannnnddddssss,  for  the  oooopppp----
  274.                     ttttiiiioooonnnnssss command).  There are 22 run-time configurable op-
  275.                     tions, but only room for 15 on a 24-line  screen.   The
  276.                     default  list  is  ^__c_d_e_f_s_o_p_y_v__a_m__u_n.   Two  additional
  277.                     characters can be specified for formatting.  Those  are
  278.                     '_', which adds a blank line, and '^', which places the
  279.                     title message on that line instead of the bottom of the
  280.                     screen.  The letters 'i', 'q', and 'x' are reserved for
  281.                     "return to index", "quit",  and  "exit",  respectively,
  282.                     and  are  not listed as part of the ccccoooonnnnffffiiiiggggooooppppttttiiiioooonnnnssss list.
  283.                     The options controlled by each letter are:
  284.  
  285.                          a    A)rrow cursor (_a_r_r_o_w)
  286.                          b    B)order on copy (_p_r_e_f_i_x)
  287.                          c    C)alendar file (_c_a_l_e_n_d_a_r)
  288.                          d    D)isplay mail using (_p_a_g_e_r)
  289.                          e    E)ditor (primary) (_e_d_i_t_o_r)
  290.                          f    F)older directory (_m_a_i_l_d_i_r)
  291.                          h    H)old sent message (_c_o_p_y)
  292.                          j    J) reply editor (_a_l_t_e_d_i_t_o_r)
  293.                          k    K) pause after pager (_p_r_o_m_p_t_a_f_t_e_r)
  294.                          l    A(l)ias Sorting (_a_l_i_a_s_s_o_r_t_b_y)
  295.                          m    M)enu display (_m_e_n_u)
  296.                          n    N)ames only (_n_a_m_e_s)
  297.                          o    O)utbound mail saved (_s_e_n_t_m_a_i_l)
  298.                          p    P)rint mail using (_p_r_i_n_t)
  299.                          r    R)eply copies msg (_a_u_t_o_c_o_p_y)
  300.                          s    S)orting criteria (_s_o_r_t_b_y)
  301.                          t    T)ext editor (~e) (_e_a_s_y_e_d_i_t_o_r)
  302.                          u    U)ser level (_u_s_e_r_l_e_v_e_l)
  303.                          v    V)isual Editor (~v) (_v_i_s_u_a_l_e_d_i_t_o_r)
  304.                          w    W)ant Cc: prompt (_a_s_k_c_c)
  305.                          y    Y)our full name (_f_u_l_l_n_a_m_e)
  306.                          z    Z) signature dashes (_s_i_g_d_a_s_h_e_s)
  307.  
  308.  
  309.           displaycharset
  310.                     This is the character set which is  supported  by  your
  311.                     terminal.  The default depends on your site's installa-
  312.                     tion but is usually US-ASCII. For sites with  X  Window
  313.                     System(tm) support, ISO-8859-1 is a reasonable default.
  314.  
  315.  
  316.  
  317.  
  318.           __________
  319.           (tm)X Window System is a trademark of the Massachusetts
  320.           Institute of Technology.
  321.  
  322.  
  323.           October 1, 1992                                            Page 4
  324.  
  325.  
  326.  
  327.  
  328.  
  329.           Elm Reference Guide                                   Version 2.4
  330.  
  331.  
  332.           easyeditor+
  333.                     The editor to be used by the  "~e"  escape  within  the
  334.                     builtin  editor.  The default value is the value of the
  335.                     configuration variable _e_m_a_c_s__e_d_i_t_o_r (see _T_h_e _E_l_m _C_o_n_f_i_-
  336.                     _g_u_r_a_t_i_o_n _G_u_i_d_e).
  337.  
  338.  
  339.           editor*   The editor to use when typing  in  new  mail.   If  you
  340.                     select  "none"  or "builtin" you'll get a Berkeley Mail
  341.                     style interface for all mail that doesn't already  have
  342.                     text  in  the buffer (e.g. a reply, mail with a "signa-
  343.                     ture", etc.)  There are two possible  formats  for  it,
  344.                     either  a  command that can have a filename appended to
  345.                     it before being executed, or a string that contains the
  346.                     metasequence  "%s" which is replaced by the name of the
  347.                     file before being executed.  Examples of each are:
  348.  
  349.                          editor = emacs -nw
  350.                          editor = emacs -nw %s -f text-mode -f turn-on-auto-fill
  351.  
  352.                     The default is to use the  value  of  $EDITOR  in  your
  353.                     current environment, and if not set, an editor selected
  354.                     by the person who configured Elm for your system.
  355.  
  356.  
  357.           escape    The character used with the builtin editor (see  eeeeddddiiiittttoooorrrr
  358.                     above)  to  escape  from text entry to input a command.
  359.                     When a line begins with this character, the builtin ed-
  360.                     itor  interprets it as a command rather than as text to
  361.                     add.  The default is '~' (tilde).
  362.  
  363.  
  364.           fullname* This is the name the mailer uses in messages you  send.
  365.                     It  is  highly  recommended that you use your full name
  366.                     and nothing strange or unusual, as that can appear  ex-
  367.                     tremely  rude  to  people receiving your mail.  The de-
  368.                     fault is to use the "gcos" field from  the  /_e_t_c/_p_a_s_s_w_d
  369.                     file  on  systems  that  use  this  field to store full
  370.                     names, and to use the contents of the ._f_u_l_l_n_a_m_e file in
  371.                     your home directory on other systems.
  372.  
  373.  
  374.           hostdomain
  375.                     This is the domain name of your system.  This  variable
  376.                     is  only  valid  in the system-wide _e_l_m._r_c file.  It is
  377.                     only necessary if the value returned by the  _g_e_t_d_o_m_a_i_n_-
  378.                     _n_a_m_e  system  call is incorrect for your mail use or if
  379.                     that system call is unavailable  on  your  system.   If
  380.                     this variable is specified, then the hhhhoooossssttttffffuuuullllllllnnnnaaaammmmeeee vari-
  381.                     able must also be specified.
  382.  
  383.  
  384.           hostfullname
  385.                     This is the  "fully  qualified  domain  name"  of  your
  386.  
  387.  
  388.           October 1, 1992                                            Page 5
  389.  
  390.  
  391.  
  392.  
  393.  
  394.           Elm Reference Guide                                   Version 2.4
  395.  
  396.  
  397.                     system.  This variable is only valid in the system-wide
  398.                     _e_l_m._r_c file.  It is only necessary  if  the  value  re-
  399.                     turned  by  the  _g_e_t_d_o_m_a_i_n_n_a_m_e  and  _g_e_t_h_o_s_t_n_a_m_e system
  400.                     calls are incorrect for your mail use or if those  sys-
  401.                     tem  calls  are  unavailable on your system.  It is re-
  402.                     quired if either the hhhhoooossssttttddddoooommmmaaaaiiiinnnn or the  hhhhoooossssttttnnnnaaaammmmeeee  vari-
  403.                     ables are used within the system-wide _e_l_m._r_c file.
  404.  
  405.  
  406.           hostname  This is the local node-name of your system.  This vari-
  407.                     able  is only valid in the system wide _e_l_m._r_c file.  It
  408.                     is only necessary if the value returned by the _g_e_t_h_o_s_t_-
  409.                     _n_a_m_e  system  call is incorrect for your mail use or if
  410.                     that system call is unavailable  on  your  system.   If
  411.                     this variable is specified, then the hhhhoooossssttttffffuuuullllllllnnnnaaaammmmeeee vari-
  412.                     able must also be specified.
  413.  
  414.  
  415.           localsignature
  416.                     See ssssiiiiggggnnnnaaaattttuuuurrrreeee.
  417.  
  418.  
  419.           maildir*  This is your folder  directory.   When  you  specify  a
  420.                     folder name beginning with the '='  metacharacter,  it
  421.                     stands for this directory name.  That is, if you save a
  422.                     message to folder =_s_t_u_f_f the '='  is  expanded  to  the
  423.                     current value of mmmmaaaaiiiillllddddiiiirrrr.  The default is the directory
  424.                     _M_a_i_l in your home directory.
  425.  
  426.  
  427.           pager*    This is the program to be  used  to  display  messages.
  428.                     You  can  specify "builtin" or the name of any standard
  429.                     pager.  If  you  use  "builtin+",  each  screenfull  of
  430.                     displayed  message  is  "paged"  from  the  top of your
  431.                     screen  with  a  title  line,  while  "builtin"  simply
  432.                     "scrolls up" subsequent screenfulls once it has "paged"
  433.                     the first screenfull.  The default is to use the  value
  434.                     of  $PAGER in your current environment, and if not set,
  435.                     a pager selected by the person who configured  Elm  for
  436.                     your system, quite likely "builtin+".
  437.  
  438.  
  439.           precedences
  440.                     Some mail transports look at a "Precedence"  header  in
  441.                     outbound  mail messages to determine how to deliver the
  442.                     message.  The Elm header editing  menu  allows  you  to
  443.                     place  a precedence on your mail messages.  By default,
  444.                     Elm allows any value to be  specified  as  the  message
  445.                     precedence.   This  option  may be used to restrict the
  446.                     allowed precedences to a particular list.  For example,
  447.  
  448.           __________
  449.           1. Note that  '%'  and  '+'  are  synonymous  with  '='
  450.           throughout Elm.
  451.  
  452.  
  453.           October 1, 1992                                            Page 6
  454.  
  455.  
  456.  
  457.  
  458.  
  459.           Elm Reference Guide                                   Version 2.4
  460.  
  461.  
  462.                     you might say:
  463.  
  464.                          precedences = special-delivery air-mail first-class bulk junk
  465.  
  466.                     Exactly what precedences your mail  transport  supports
  467.                     and  what  they do (if anything at all!) will vary from
  468.                     site to site.
  469.  
  470.                     The distinction between the "Precedence" and "Priority"
  471.                     headers  is subtle:  the precedence tells the mail sys-
  472.                     tem how to handle the message and  the  priority  tells
  473.                     the  recipient  how important the message is.  Although
  474.                     these are quite different things, they are often relat-
  475.                     ed.   This option will also allow you to associate mes-
  476.                     sage priorities with  precedences.   For  example,  you
  477.                     might say:
  478.  
  479.                          precedences = special-delivery:urgent air-mail:urgent first-class bulk junk
  480.  
  481.                     In this example, if you select an "air-mail" precedence
  482.                     then the message priority defaults to "urgent".  If you
  483.                     select  a  "first-class"  precedence  then  no  special
  484.                     priority  is  implied.   The  priorities  given in this
  485.                     field are used only if you have not already assigned  a
  486.                     priority  to  your message, and even if one is assigned
  487.                     via pppprrrreeeecccceeeeddddeeeennnncccceeeessss you can always go back and change it.
  488.  
  489.  
  490.           prefix+   When you rrrreeeeppppllllyyyy to a message or  ffffoooorrrrwwwwaaaarrrrdddd  a  message  to
  491.                     another person, you can optionally include the original
  492.                     message.  Defining the prefix value here allows you  to
  493.                     indicate  what  the prefix of each included line should
  494.                     be.  The default is "> " (specified as  ">_"  -  under-
  495.                     score  is  interpreted as space) and is standard in the
  496.                     UNIX community.
  497.  
  498.  
  499.           print*    This is the command used for  printing  mail  messages.
  500.                     There are two possible formats for the command, depend-
  501.                     ing on whether or not the command contains the sequence
  502.                     "%s".   In  the  first  form  the mail message(s) to be
  503.                     printed are piped to the specified command.  An example
  504.                     of this form is:
  505.  
  506.                          print = print -formfeed
  507.  
  508.                     In the second form the mail message(s)  to  be  printed
  509.                     are  dumped  into  a  temporary file, and a "%s" in the
  510.                     command string is replaced with the name  of  the  tem-
  511.                     porary file.  An example of this form is:
  512.  
  513.                          print = pr %s | lpr
  514.  
  515.                     Another significant difference between the two forms is
  516.  
  517.  
  518.           October 1, 1992                                            Page 7
  519.  
  520.  
  521.  
  522.  
  523.  
  524.           Elm Reference Guide                                   Version 2.4
  525.  
  526.  
  527.                     that  in the second form all output from the command is
  528.                     discarded,  but  in  the  first  form  all  output   is
  529.                     displayed on the terminal.  For example, if you wish to
  530.                     use the "pass-through" feature to print  on  the  "aux"
  531.                     port  of  a terminal, you must use the first form.  The
  532.                     second form is provided for backward compatibility with
  533.                     old  versions  of  Elm.  It is depreciated and might be
  534.                     removed in a future release.  The default is set by the
  535.                     person who configured Elm for your system.
  536.  
  537.  
  538.           receivedmail
  539.                     This is the folder to  which  incoming  mail  is  saved
  540.                     after  you've read it.  When you answer _n_o to "Keep un-
  541.                     read messages in your  incoming  mailbox?"  or  _y_e_s  to
  542.                     "Store  read messages in your "received" folder?", this
  543.                     is where the messages go.  The default is  "=received",
  544.                     that  is,  a  folder  called  _r_e_c_e_i_v_e_d  in your mmmmaaaaiiiillllddddiiiirrrr
  545.                     directory.
  546.  
  547.  
  548.           remotesignature
  549.                     See ssssiiiiggggnnnnaaaattttuuuurrrreeee.
  550.  
  551.  
  552.           sentmail* This is the folder to which a copy of outgoing mail  is
  553.                     automatically  saved.   This  is  only done if the ccccooooppppyyyy
  554.                     boolean variable is set ON.   Also  note  that  if  the
  555.                     ssssaaaavvvveeeennnnaaaammmmeeee  boolean  variable is enabled then this folder
  556.                     may be ignored since the program may save to  a  folder
  557.                     that  has  the  same  name  as  the login of the person
  558.                     you're sending to.  Whether or not a copy is saved, and
  559.                     to  what folder, can be changed just prior to sending a
  560.                     message (see the ccccooooppppyyyy command of the mail command  sub-
  561.                     menu  in section 7, CCCCoooommmmmmmmaaaannnnddddssss).  The default is "=sent",
  562.                     that is, a folder called _s_e_n_t in your mmmmaaaaiiiillllddddiiiirrrr  directo-
  563.                     ry.
  564.  
  565.  
  566.           shell     This defines the shell to use when  doing  '!'  escapes
  567.                     and such.  The default is to use the value of $SHELL in
  568.                     your current environment,  and  if  not  set,  a  shell
  569.                     selected by the person who configured Elm for your sys-
  570.                     tem.  Note that the '!' escape is optional and may  not
  571.                     be enabled in your version of Elm.
  572.  
  573.  
  574.           signature This defines the file that is automatically appended to
  575.                     all outbound mail before the editor is invoked.  Furth-
  576.                     ermore, if you'd like a different  signature  file  for
  577.                     "local"  mail and "remote" mail (remote being via other
  578.                     hosts), you can alternatively define two variables, lllloooo----
  579.                     ccccaaaallllssssiiiiggggnnnnaaaattttuuuurrrreeee  and  rrrreeeemmmmooootttteeeessssiiiiggggnnnnaaaattttuuuurrrreeee,  to  have  the same
  580.                     functionality.  The default is to not  have  signatures
  581.  
  582.  
  583.           October 1, 1992                                            Page 8
  584.  
  585.  
  586.  
  587.  
  588.  
  589.           Elm Reference Guide                                   Version 2.4
  590.  
  591.  
  592.                     appended to your messages.
  593.  
  594.  
  595.           sortby*   You can have your folder sorted in any of the following
  596.                     ways:
  597.  
  598.                          from      Sorts according to whom each message  is
  599.                                    _f_r_o_m.
  600.  
  601.                          lines     Sorts _s_h_o_r_t_e_s_t to _l_o_n_g_e_s_t by message.
  602.  
  603.                          mailbox   Leaves the messages in the  order  found
  604.                                    in the folder.
  605.  
  606.                          received  Sorts _l_e_a_s_t _r_e_c_e_n_t_l_y  _r_e_c_e_i_v_e_d  to  _m_o_s_t
  607.                                    _r_e_c_e_n_t_l_y _r_e_c_e_i_v_e_d.
  608.  
  609.                          sent      Sorts _l_e_a_s_t _r_e_c_e_n_t_l_y _s_e_n_t  to  _m_o_s_t  _r_e_-
  610.                                    _c_e_n_t_l_y _s_e_n_t.
  611.  
  612.                          status    Sorts by _p_r_i_o_r_i_t_y, _a_c_t_i_o_n, _n_e_w,  _t_a_g_g_e_d,
  613.                                    then _d_e_l_e_t_e_d.
  614.  
  615.                          subject   Sorts according to the _s_u_b_j_e_c_t  of  each
  616.                                    message.
  617.  
  618.                     Each of these fields can optionally be  prepended  with
  619.                     the  sequence  "reverse-"  to  reverse the order of the
  620.                     sort.  This doesn't imply anything about the  order  of
  621.                     the  messages  in  the  folder  itself and affects only
  622.                     their order on the index screen.  The default is  _m_a_i_l_-
  623.                     _b_o_x order.
  624.  
  625.  
  626.           textencoding
  627.                     This is the value for the  "Content-Transfer-Encoding:"
  628.                     header, which is used to tell MIME (Multipurpose Inter-
  629.                     net Mail  Extension)  capable  mail  readers  how  they
  630.                     should  decode  your mail.  The default depends on your
  631.                     site's installation, but is usually _7_b_i_t. Other  possi-
  632.                     ble  values  are  _8_b_i_t, _b_a_s_e_6_4 or _q_u_o_t_e_d-_p_r_i_n_t_a_b_l_e (see
  633.                     RFC1341 for details).  _7_b_i_t and _8_b_i_t implies no  encod-
  634.                     ing.
  635.  
  636.                     Note that Elm doesn't look at this value;  it  is  just
  637.                     placed  in  your  outgoing  mail  headers.   If you put
  638.                     _b_a_s_e_6_4 or _q_u_o_t_e_d-_p_r_i_n_t_a_b_l_e as the value, Elm  will  NOT
  639.                     turn your message into a _b_a_s_e_6_4/_q_u_o_t_e_d-_p_r_i_n_t_a_b_l_e encod-
  640.                     ed message.  You will have to  do  that  yourself  with
  641.                     whatever  means are available in your MIME capable mail
  642.                     reader.  Metamail, for instance, has a  program  called
  643.                     mimencode that you can use.
  644.  
  645.  
  646.  
  647.  
  648.           October 1, 1992                                            Page 9
  649.  
  650.  
  651.  
  652.  
  653.  
  654.           Elm Reference Guide                                   Version 2.4
  655.  
  656.  
  657.           tmpdir    Use this if you want to define your own  directory  for
  658.                     the  temporary file Elm creates while running.  This is
  659.                     only necessary if using the system temporary  directory
  660.                     could  cause problems, such as when not all NFS clients
  661.                     mount the common temporary directory, or when the  tem-
  662.                     porary  directory is prone to being cleared periodical-
  663.                     ly.  The default entry of the system temporary directo-
  664.                     ry is normally OK.
  665.  
  666.  
  667.           visualeditor+
  668.                     The editor to be used by the  "~v"  escape  within  the
  669.                     builtin  editor.  The default value is the value of the
  670.                     configuration variable _v_i__e_d_i_t_o_r (see  _T_h_e  _E_l_m  _C_o_n_f_i_-
  671.                     _g_u_r_a_t_i_o_n _G_u_i_d_e).
  672.  
  673.  
  674.           weedout   When specifying this option, you can list headers  that
  675.                     you  _d_o_n'_t  want  to see when you are displaying a mes-
  676.                     sage.  This list can continue  for  as  many  lines  as
  677.                     desired,  as long as the continued lines all have lead-
  678.                     ing indentation.  All headers in this entry  append  to
  679.                     the default weedout list.  There are two special header
  680.                     flags. The first, "*clear-weed-list*", clears  the  de-
  681.                     fault  list.  The second, "*end-of-user-headers*", ter-
  682.                     minates the entry, in case  the  following  lines  look
  683.                     like  they might be more headers for the list.  The de-
  684.                     fault  wwwweeeeeeeeddddoooouuuutttt  list  includes  the  following   header
  685.                     strings:
  686.  
  687.                          >From
  688.                          Apparently-To:
  689.                          Content-Length
  690.                          Content-Transfer-Encoding
  691.                          Content-Type:
  692.                          From
  693.                          In-Reply-To:
  694.                          MIME-Version
  695.                          Message-Id:
  696.                          Newsgroups:
  697.                          Received:
  698.                          References:
  699.                          Status:
  700.                          X-Mailer:
  701.  
  702.                     Note that the "From" entry weeds out both  "From:"  and
  703.                     the  "From "  headers.  If  you  just  want to weed out
  704.                     "From ", for example, put a "*clear-weed-list*" at  the
  705.                     start of the list followed by "From_" or "From ".
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.           October 1, 1992                                           Page 10
  714.  
  715.  
  716.  
  717.  
  718.  
  719.           Elm Reference Guide                                   Version 2.4
  720.  
  721.  
  722.           NNNNuuuummmmeeeerrrriiiicccc VVVVaaaarrrriiiiaaaabbbblllleeeessss
  723.  
  724.  
  725.           bounceback
  726.                     This is a hop count threshold value and allows  you  to
  727.                     set  up the mailer so that when you send mail more than
  728.                     _n machines away, it'll automatically include a "Cc:" to
  729.                     you  through  the  remote  machine.   In  practice this
  730.                     should be very rarely used.  Note that this refuses  to
  731.                     bounce mail off an Internet address.  The default is to
  732.                     have it set to zero, which disables the function.
  733.  
  734.  
  735.           builtinlines
  736.                     This is used to determine if the builtin  pager  should
  737.                     be  used on some messages even if you would usually use
  738.                     an external pager  program.   There  are  two  ways  of
  739.                     determining  whether  the builtin pager should be used.
  740.                     If you want any message that is shorter than _n lines to
  741.                     use the internal pager, set this variable to _n.  If you
  742.                     want the builtin pager to be used if the message  is  _m
  743.                     lines  shorter than the number of lines on your screen,
  744.                     set this variable to -_m.  Setting this variable to zero
  745.                     will  result  in  the message always being sent through
  746.                     your external pager.  This variable is used only if the
  747.                     pager  is not set to the builtin pager.  The default is
  748.                     -3.
  749.  
  750.  
  751.           readmsginc
  752.                     This variable  modifies  the  display  of  the  message
  753.                     "Reading in _f_o_l_d_e_r_n_a_m_e, message: #", which is displayed
  754.                     when reading a new folder.  The message count  is  nor-
  755.                     mally  updated  as  each message in the folder is read.
  756.                     If you are on a slow terminal and are reading a  folder
  757.                     with  a  large number of messages, the time it takes to
  758.                     redraw the message count can significantly  exceed  the
  759.                     time it takes to simply read the folder.
  760.  
  761.                     The rrrreeeeaaaaddddmmmmssssggggiiiinnnncccc variable  controls  the  frequency  with
  762.                     which  the message count is updated.  If this parameter
  763.                     is set to 50, the message count will be  updated  after
  764.                     every  50  messages  (i.e.,  at  50,  100,  150, and so
  765.                     forth).  The default value for this parameter is 1.  If
  766.                     a value of less than 1 is specified for this parameter,
  767.                     the value is ignored, and the default value is used in-
  768.                     stead.
  769.  
  770.  
  771.           sleepmsg  This  variable  modifies  the  time  Elm  waits   after
  772.                     displaying  a  transient  message before erasing it and
  773.                     continuing.  It can be set to zero to suppress the wait
  774.                     entirely.  It is in units of whole seconds.
  775.  
  776.  
  777.  
  778.           October 1, 1992                                           Page 11
  779.  
  780.  
  781.  
  782.  
  783.  
  784.           Elm Reference Guide                                   Version 2.4
  785.  
  786.  
  787.           timeout   On more advanced systems, it's nice  to  start  up  the
  788.                     mailer  in  a window and let it sit in background until
  789.                     new mail arrives (see _w_n_e_w_m_a_i_l for another window based
  790.                     program),  at  which  point it can be brought up to the
  791.                     forefront of the system and read.   In  this  case,  it
  792.                     would be quite convenient to have the mailer internally
  793.                     resynchronize every so often.   This  option  specifies
  794.                     the number of seconds that this occurs.
  795.  
  796.                     This is also useful for non-windowing  terminals.   For
  797.                     example,  you can leave Elm running at night (I usually
  798.                     do) and when you come in in the morning  it'll  be  all
  799.                     ready to read your mail!
  800.  
  801.                     The default is a 300 second (5 minute) timeout period.
  802.  
  803.  
  804.           userlevel*
  805.                     This is what the program uses to determine the relative
  806.                     level  of  sophistication  of the user.  The values are
  807.                     '0' for a new user (the default), '1' for someone fami-
  808.                     liar  with  Elm,  and  '2'  for experts.  Some advanced
  809.                     features are hidden from novice  users,  while  experts
  810.                     get less verbose prompt messages.  The default is '0'.
  811.  
  812.           BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss
  813.  
  814.           The value assigned to boolean variables  can  be  "ON"  or  "OFF"
  815.           only.
  816.  
  817.  
  818.           alwaysdelete
  819.                     Set ON to set the default answer to  the  "Delete  mes-
  820.                     sages?"  prompt to _y_e_s (see the qqqquuuuiiiitttt command in section
  821.                     7, CCCCoooommmmmmmmaaaannnnddddssss, and the aaaasssskkkk variable below). This  default
  822.                     answer also applies to deletions from the alias system.
  823.                     The default for aaaallllwwwwaaaayyyyssssddddeeeelllleeeetttteeee is OFF.
  824.  
  825.  
  826.           alwayskeep
  827.                     Set ON to set the default answer to  the  "Keep  unread
  828.                     mail  in incoming mailbox?" prompt to _y_e_s.  However, if
  829.                     you set aaaallllwwwwaaaayyyyssssssssttttoooorrrreeee OFF or answer _n_o to the "Store read
  830.                     mail in "received" folder?" prompt, it is presumed that
  831.                     you also want to keep your unread mail in the  incoming
  832.                     mailbox, so the value of aaaallllwwwwaaaayyyysssskkkkeeeeeeeepppp is ignored in those
  833.                     cases. See the qqqquuuuiiiitttt command in section 7, CCCCoooommmmmmmmaaaannnnddddssss, and
  834.                     the  aaaasssskkkk  and  aaaallllwwwwaaaayyyyssssssssttttoooorrrreeee variables below for more de-
  835.                     tails.  The default for aaaallllwwwwaaaayyyysssskkkkeeeeeeeepppp is ON.
  836.  
  837.  
  838.           alwaysstore
  839.                     Set ON to set the default answer  to  the  "Store  read
  840.                     mail in "received" folder?" prompt to _y_e_s (see the qqqquuuuiiiitttt
  841.  
  842.  
  843.           October 1, 1992                                           Page 12
  844.  
  845.  
  846.  
  847.  
  848.  
  849.           Elm Reference Guide                                   Version 2.4
  850.  
  851.  
  852.                     command in section 7, CCCCoooommmmmmmmaaaannnnddddssss, and  the  aaaasssskkkk  variable
  853.                     below).  The default for aaaallllwwwwaaaayyyyssssssssttttoooorrrreeee is OFF.
  854.  
  855.  
  856.           arrow*    Sometimes you are forced to use a slow or "dumb" termi-
  857.                     nal.   Set  ON  to make the current message pointer the
  858.                     "->" sequence rather than the inverse bar.   Note  that
  859.                     this is overridden by the "-a" command line option (see
  860.                     section 3, CCCCoooommmmmmmmaaaannnndddd LLLLiiiinnnneeee OOOOppppttttiiiioooonnnnssss).  The default is OFF.
  861.  
  862.  
  863.           ask       Set OFF to tell Elm that  you'd  rather  not  be  asked
  864.                     "Delete  messages?" and such each time you quit, resyn-
  865.                     chronize, change folders, or return from the alias sys-
  866.                     tem,  but that it should just use the values of aaaallllwwwwaaaayyyyssss----
  867.                     ddddeeeelllleeeetttteeee, aaaallllwwwwaaaayyyyssssssssttttoooorrrreeee, and aaaallllwwwwaaaayyyysssskkkkeeeeeeeepppp without  prompting.
  868.                     Note  that when you quit EEEEllllmmmm, if you use 'Q' instead of
  869.                     'q', you will never be questioned,  regardless  of  how
  870.                     you  have aaaasssskkkk set.  See the qqqquuuuiiiitttt commands in section 7,
  871.                     CCCCoooommmmmmmmaaaannnnddddssss, and the aaaallllwwwwaaaayyyyssssddddeeeelllleeeetttteeee, aaaallllwwwwaaaayyyysssskkkkeeeeeeeepppp, and aaaallllwwwwaaaayyyyssss----
  872.                     ssssttttoooorrrreeee  variables  above  for more details.  The default
  873.                     for aaaasssskkkk is ON.
  874.  
  875.  
  876.           askcc+    Set OFF to allow sending mail without  being  presented
  877.                     the  "Copies  to:"  prompt for each message. This still
  878.                     allows you to explicitly include addresses in the "Cc:"
  879.                     list  via either the header editor or "~c" in the buil-
  880.                     tin editor (see section 8, UUUUssssiiiinnnngggg  EEEEllllmmmm  wwwwiiiitttthhhh  """"eeeeddddiiiittttoooorrrr  ====
  881.                     nnnnoooonnnneeee"""").  The default is ON.
  882.  
  883.  
  884.           autocopy+ Set ON for Elm to automatically copy the text  of  each
  885.                     message replied to into the edit buffer.  Otherwise you
  886.                     will be prompted as to whether you want the message in-
  887.                     cluded  in  your  reply.  See the pppprrrreeeeffffiiiixxxx variable under
  888.                     SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2 for how  copied  text  is
  889.                     marked.  The default for aaaauuuuttttooooccccooooppppyyyy is OFF.
  890.  
  891.  
  892.           confirmappend
  893.                     Set ON to make Elm ask for permission  to  append  mes-
  894.                     sages  to  the  end  of  any  file that already exists.
  895.                     Whether the file is a mail folder in  the  user's  mail
  896.                     directory or an ordinary file makes no difference.  The
  897.                     default is OFF.
  898.  
  899.  
  900.           confirmcreate
  901.                     Set ON to make Elm ask for permission before it creates
  902.                     a  new  file to store messages in.  It makes no differ-
  903.                     ence whether the new file would be a mail folder in the
  904.                     user's mail directory or an ordinary file.  The default
  905.                     is OFF.
  906.  
  907.  
  908.           October 1, 1992                                           Page 13
  909.  
  910.  
  911.  
  912.  
  913.  
  914.           Elm Reference Guide                                   Version 2.4
  915.  
  916.  
  917.           confirmfiles
  918.                     This allows you to have some last resort  control  over
  919.                     Elm when a message would be appended (by copy, save, or
  920.                     auto-cc) to an existing file which is not a  folder  in
  921.                     your  mail  directory  (see  the mmmmaaaaiiiillllddddiiiirrrr variable under
  922.                     SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).  Set ON to make Elm ask
  923.                     for permission to append a message to the end of an or-
  924.                     dinary file, otherwise it silently adds the message  to
  925.                     the end of the specified file whether it is a folder or
  926.                     not.  The default is OFF.
  927.  
  928.  
  929.           confirmfolders
  930.                     Set ON to make Elm ask before creating new mail folders
  931.                     in  your mail directory (see the mmmmaaaaiiiillllddddiiiirrrr variable under
  932.                     SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2), otherwise  it  silently
  933.                     creates  new  mail folders whenever a copy of a message
  934.                     is going to be stored in a folder that does not already
  935.                     exist.  See the ccccooooppppyyyy, ssssaaaavvvveeeennnnaaaammmmeeee, and ffffoooorrrrcccceeeennnnaaaammmmeeee variables
  936.                     below for additional  information  about  copying  mes-
  937.                     sages.  The default for ccccoooonnnnffffiiiirrrrmmmmffffoooollllddddeeeerrrrssss is OFF.
  938.  
  939.  
  940.           copy+     Set ON to have silent copies made of all outgoing mail.
  941.                     Where the copy of the message is saved is determined by
  942.                     the mmmmaaaaiiiillllddddiiiirrrr  and  sssseeeennnnttttmmmmaaaaiiiillll  string  variables  and  the
  943.                     ssssaaaavvvveeeennnnaaaammmmeeee  and  ffffoooorrrrcccceeeennnnaaaammmmeeee  boolean variables.  Whether a
  944.                     copy is saved and to which folder can also be set prior
  945.                     to sending a message - see the ccccooooppppyyyy command of the mail
  946.                     command sub-menu in section 7, CCCCoooommmmmmmmaaaannnnddddssss,  for  details.
  947.                     The default for ccccooooppppyyyy is OFF.
  948.  
  949.  
  950.           forcename Set ON to force creation of folders for copies of  out-
  951.                     bound mail by the recipient name.  For complete details
  952.                     of how to enable automatic  copying  of  outbound  mes-
  953.                     sages,  see  the  ccccooooppppyyyy  and ssssaaaavvvveeeennnnaaaammmmeeee boolean variables.
  954.                     The default is OFF.
  955.  
  956.  
  957.           forms     Set ON to enable the generation of  "forms"  type  mes-
  958.                     sages.  See the _E_l_m _F_o_r_m_s _M_o_d_e _G_u_i_d_e for further infor-
  959.                     mation about mail forms.
  960.  
  961.  
  962.           keepempty The mail system has a habit of  deleting  folders  when
  963.                     you've   removed  everything  from  them.   Set  ON  to
  964.                     preserve empty folders as zero-length files.  Note that
  965.                     this  option  does  not apply to your incoming mailbox.
  966.                     The default is OFF.
  967.  
  968.  
  969.           keypad    Set ON to indicate that you have  an  HP  terminal  and
  970.                     want  the  <_N_E_X_T>, <_P_R_E_V>, <_H_O_M_E> and <_S_H_I_F_T-_H_O_M_E> keys
  971.  
  972.  
  973.           October 1, 1992                                           Page 14
  974.  
  975.  
  976.  
  977.  
  978.  
  979.           Elm Reference Guide                                   Version 2.4
  980.  
  981.  
  982.                     enabled.  The default is OFF.
  983.  
  984.  
  985.           menu*     Set OFF to inhibit  the  menu  display  on  all  screen
  986.                     displays  within  Elm.  Note that this is overridden by
  987.                     the "-m" command line option (see  section  3,  CCCCoooommmmmmmmaaaannnndddd
  988.                     LLLLiiiinnnneeee OOOOppppttttiiiioooonnnnssss).  The default is ON.
  989.  
  990.  
  991.           metoo     Set ON to get a copy of mail you send to a mailing list
  992.                     you  are  on,  otherwise  you do not get a copy of such
  993.                     messages.  The default is OFF.
  994.  
  995.  
  996.           movepage  Set ON to enable commands that move through the  folder
  997.                     by pages (see the '+', '-', <_r_i_g_h_t>, and <_l_e_f_t> keys in
  998.                     section  7,  CCCCoooommmmmmmmaaaannnnddddssss)  to  move  the  current  message
  999.                     pointer  to  the top of that page of messages.  Set OFF
  1000.                     to not alter the current message pointer location  when
  1001.                     moving through pages.  The default is OFF.
  1002.  
  1003.  
  1004.           names*    Set OFF to display the primary recipients' addresses on
  1005.                     your  screen with their full names when you send a mes-
  1006.                     sage.  Set ON to display only the full names.  The  de-
  1007.                     fault is ON.
  1008.  
  1009.  
  1010.           noheader  Set ON to not include  the  headers  of  messages  when
  1011.                     copying  a message into the edit buffer for replying or
  1012.                     forwarding (see the aaaauuuuttttooooccccooooppppyyyy variable above).  The  de-
  1013.                     fault is ON.
  1014.  
  1015.  
  1016.           pointnew  Set ON to cause the current message pointer to point to
  1017.                     the  first  new  message  in your incoming mailbox when
  1018.                     started, instead of at message #1 of the  index.   This
  1019.                     has  no effect for other folders since they are not ex-
  1020.                     pected to have "new" mail.  The default is ON.
  1021.  
  1022.  
  1023.           promptafter+
  1024.                     Set ON to display a command prompt rather than the  in-
  1025.                     dex  screen  when exiting from an external pager.  This
  1026.                     variable has no effect on the builtin pager.   See  the
  1027.                     ppppaaaaggggeeeerrrr  variable  under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2 to
  1028.                     specify which pager to use to read messages.
  1029.  
  1030.                     If  your  external  pager  immediately  exits  when  it
  1031.                     reaches  the  end of the message, you should set pppprrrroooommmmpppp----
  1032.                     ttttaaaafffftttteeeerrrr ON so that the last screen of the displayed mes-
  1033.                     sage  is  not immediately replaced by the index screen.
  1034.                     If your external pager doesn't exit until  you  command
  1035.                     it  to,  you have a choice.  If you usually want to see
  1036.  
  1037.  
  1038.           October 1, 1992                                           Page 15
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.           Elm Reference Guide                                   Version 2.4
  1045.  
  1046.  
  1047.                     the index screen before issuing a command, setting this
  1048.                     variable  OFF  eliminates the extra keystroke needed to
  1049.                     return to the index screen.  If you usually don't  need
  1050.                     to  see  the  index screen before issuing the next com-
  1051.                     mand, setting it ON allows you to enter your next  com-
  1052.                     mand  without  waiting  for  the  index  screen  to  be
  1053.                     redrawn.  The default is ON.
  1054.  
  1055.  
  1056.           resolve   Set ON to move the current message pointer to the  next
  1057.                     message  on  the  index  when  a mail message is "dealt
  1058.                     with" through deleting, undeleting, saving, forwarding,
  1059.                     etc.  or  set  OFF to leave the current message pointer
  1060.                     unchanged.  The default is ON.
  1061.  
  1062.  
  1063.           savename  One of the problems with  electronic  mail  systems  is
  1064.                     that  one  tends  to  get  very  large, one-dimensional
  1065.                     (flat) files that contain lots of completely  unrelated
  1066.                     mail.   Elm  can use a more intelligent algorithm:  for
  1067.                     incoming mail, when you ssssaaaavvvveeee or ccccooooppppyyyy it (see section 7,
  1068.                     CCCCoooommmmmmmmaaaannnnddddssss),  the default folder is the login name of the
  1069.                     person who sent you the message  (changed  by  pressing
  1070.                     anything  other  than  <_r_e_t_u_r_n> of course).  Similarly,
  1071.                     when sending mail, instead of just blindly saving it to
  1072.                     the  sssseeeennnnttttmmmmaaaaiiiillll  folder, Elm can save it to a folder that
  1073.                     is the login name of the recipient of  the  mail.  Set
  1074.                     ssssaaaavvvveeeennnnaaaammmmeeee ON to enable this algorithm.
  1075.  
  1076.                     If ffffoooorrrrcccceeeennnnaaaammmmeeee is OFF (see above), the copy is  saved  to
  1077.                     that  folder  only  if  the  folder already exists.  In
  1078.                     practice, this means that  important  people  that  you
  1079.                     communicate  with  (those  that  you  tend to save mail
  1080.                     from) have folders that are actually _a _r_e_c_o_r_d_e_d _l_o_g  _o_f
  1081.                     _t_h_e  _d_i_s_c_u_s_s_i_o_n  _i_n  _b_o_t_h _d_i_r_e_c_t_i_o_n_s and others (random
  1082.                     mailings) are all stuffed in the  sssseeeennnnttttmmmmaaaaiiiillll  folder  for
  1083.                     easy  perusal  and  removal  (see the sssseeeennnnttttmmmmaaaaiiiillll variable
  1084.                     under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).   If  you  always
  1085.                     want  to  save  copies of outgoing messages in separate
  1086.                     folders by recipient login name,  you'll  want  to  set
  1087.                     ffffoooorrrrcccceeeennnnaaaammmmeeee ON.
  1088.  
  1089.                     The default for ssssaaaavvvveeeennnnaaaammmmeeee is ON.
  1090.  
  1091.  
  1092.           sigdashes+
  1093.                     Set ON to tell Elm that you wish to follow the  conven-
  1094.                     tion  of  prefixing  your  signature with "_n_e_w_l_i_n_e _d_a_s_h
  1095.                     _d_a_s_h _b_l_a_n_k _n_e_w_l_i_n_e".  This is placed  in  your  message
  1096.                     before   your   signature   file  (see  the  ssssiiiiggggnnnnaaaattttuuuurrrreeee,
  1097.  
  1098.           __________
  1099.           2. When sending to a group, it's  saved  to  the  login
  1100.           name of the first person in the list only.
  1101.  
  1102.  
  1103.           October 1, 1992                                           Page 16
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.           Elm Reference Guide                                   Version 2.4
  1110.  
  1111.  
  1112.                     llllooooccccaaaallllssssiiiiggggnnnnaaaattttuuuurrrreeee,  and  rrrreeeemmmmooootttteeeessssiiiiggggnnnnaaaattttuuuurrrreeee  variables  under
  1113.                     SSSSttttrrrriiiinnnngggg  VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).  If OFF, the signature
  1114.                     file, if any, is placed  at  the  end  of  the  message
  1115.                     without any prefix.  The default is ON.
  1116.  
  1117.  
  1118.           softkeys  Set ON to tell Elm that you have an  HP  terminal  with
  1119.                     the  HP  2622 function key protocol and that you'd like
  1120.                     to have the function keys available while in  the  pro-
  1121.                     gram.  The default is OFF.
  1122.  
  1123.  
  1124.           titles    Set ON to have the first line of a message titled with:
  1125.  
  1126.                      Message _N_/_M from _u_s_e_r_n_a_m_e           _d_a_t_e at _t_i_m_e
  1127.  
  1128.                     where all the information is extracted  from  the  mes-
  1129.                     sage.   This  is  especially useful if you weed out all
  1130.                     the headers of each message with a large  wwwweeeeeeeeddddoooouuuutttt  list
  1131.                     (see  the  wwwweeeeeeeeddddoooouuuutttt  variable  under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in
  1132.                     section 2).  The default is ON.
  1133.  
  1134.  
  1135.           usetite   Set ON to enable  use  of  the  _t_e_r_m_c_a_p/_t_e_r_m_i_n_f_o  ttttiiii////tttteeee
  1136.                     capabilities.   Many terminal emulators require it (not
  1137.                     the least of which is the OpenLook _c_m_d_t_o_o_l).  Some ter-
  1138.                     minal  emulators  clear the screen on tttteeee (some _x_t_e_r_ms).
  1139.                     Set OFF to disable use of ttttiiii////tttteeee.   Note  that  this  is
  1140.                     overridden by the "-t" command line option (see section
  1141.                     3, CCCCoooommmmmmmmaaaannnndddd LLLLiiiinnnneeee OOOOppppttttiiiioooonnnnssss).  The default is ON.
  1142.  
  1143.  
  1144.           weed      Set ON to have Elm  "weed  out"  certain  headers  from
  1145.                     displayed  messages,  that  is,  not display them.  The
  1146.                     wwwweeeeeeeeddddoooouuuutttt variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss  in  section  2
  1147.                     allows  you  to  custom  define  the set of headers you
  1148.                     would like to not have  displayed  while  reading  mes-
  1149.                     sages.  The default for the wwwweeeeeeeedddd variable is ON.
  1150.  
  1151.  
  1152.           For a better  idea  of  how  this  all  works,  here's  a  sample
  1153.           ._e_l_m/_e_l_m_r_c  file.   While looking through it, notice that you can
  1154.           have lots of comments and blank lines for  readability  and  that
  1155.           you  can also use "shell variables" and the '~' (tilde) metachar-
  1156.           acter for your home directory, and they are expanded  accordingly
  1157.           when  read  in  by  the mailer.  Note that this was automatically
  1158.           saved by the Elm program on the fly from the options screen.
  1159.  
  1160.             #
  1161.             # .elm/elmrc - options file for the ELM mail system
  1162.             #
  1163.             # Saved automatically by ELM 2.4 for Elm Development Group
  1164.             #
  1165.  
  1166.  
  1167.  
  1168.           October 1, 1992                                           Page 17
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.           Elm Reference Guide                                   Version 2.4
  1175.  
  1176.  
  1177.             # For yes/no settings with ?, ON means yes, OFF means no
  1178.  
  1179.             # where to save calendar entries
  1180.             calendar = ~/.Agenda
  1181.  
  1182.             # what editor to use ("none" means simulate Berkeley Mail)
  1183.             # '%s' can be used as the temporary filename for the outgoing message
  1184.             editor = none
  1185.  
  1186.             # the character to use in the builtin editor for entering commands
  1187.             escape = ~
  1188.  
  1189.             # the full user name for outbound mail
  1190.             fullname = Elm Development Group
  1191.  
  1192.             # where to save received messages to, default file is "=received"
  1193.             receivedmail = $HOME/Mail/received
  1194.  
  1195.             # where to save my mail to, default directory is "Mail"
  1196.             maildir = /users/elmdev/Mail
  1197.  
  1198.             #directory to hold my temporary files to avoid NFS cross mount problems
  1199.             tmpdir = /users/elmdev/Mail/tmp
  1200.  
  1201.             # program to use for displaying messages ('builtin' is recommended)
  1202.             pager = builtin
  1203.  
  1204.             # prefix sequence for indenting included message text in outgoing messages...
  1205.             prefix = >_
  1206.  
  1207.             # how to print a message ('%s' is the filename)
  1208.             print = lpr -Plw2 %s
  1209.  
  1210.             # attribution string for replies ('%s' is the author of original message)
  1211.             attribution = According to %s:
  1212.  
  1213.             # where to save copies of outgoing mail to, default file is "=sent"
  1214.             sentmail = /users/elmdev/Mail/mail.sent
  1215.  
  1216.             # the shell to use for shell escapes
  1217.             shell = /bin/csh
  1218.  
  1219.             # local ".signature" file to append to appropriate messages...
  1220.             localsignature = localsig
  1221.  
  1222.             # remote ".signature" file to append to appropriate messages...
  1223.             remotesignature =  remotesig
  1224.  
  1225.             # do we want dashes above signatures? (News 2.11 compatibility and convention)
  1226.             sigdashes = ON
  1227.  
  1228.             # how to sort folders, "Reverse Sent" by default
  1229.             sortby = Reverse-Received
  1230.  
  1231.  
  1232.  
  1233.           October 1, 1992                                           Page 18
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.           Elm Reference Guide                                   Version 2.4
  1240.  
  1241.  
  1242.             # should the default be to delete messages we've marked for deletion?
  1243.             alwaysdelete = ON
  1244.  
  1245.             # should the default be to store read messages to the "received" folder?
  1246.             alwaysstore = ON
  1247.  
  1248.             # should the default be to keep unread messages in the incoming mailbox?
  1249.             alwayskeep = ON
  1250.  
  1251.             # should we use the "->" rather than the inverse video bar?
  1252.             arrow = OFF
  1253.  
  1254.             # should the message disposition questions be displayed (ON) or
  1255.             # auto-answered (OFF) with the default answers when we resync or change folders?
  1256.             ask = ON
  1257.  
  1258.             # would you like to be asked for Carbon-Copies information each msg?
  1259.             askcc = ON
  1260.  
  1261.             # automatically copy message being replied to into buffer?
  1262.             autocopy = OFF
  1263.  
  1264.             # threshold for bouncing copies of remote uucp messages...
  1265.             # zero = disable function.
  1266.             bounceback = 0
  1267.  
  1268.             # save a copy of all outbound messages?
  1269.             copy = ON
  1270.  
  1271.             # do we want to be able to mail out AT&T Mail Forms?
  1272.             forms = OFF
  1273.  
  1274.             # should we keep folders from which all messages are deleted?
  1275.             keepempty = OFF
  1276.  
  1277.             # we're running on an HP terminal and want HOME, PREV, NEXT, etc...
  1278.             keypad = OFF
  1279.  
  1280.             # should we display the three-line 'mini' menu?
  1281.             menu = ON
  1282.  
  1283.             # would you like a copy of a message you send to an alias you are on?
  1284.             metoo = OFF
  1285.  
  1286.             # when using the page commands (+ - <NEXT> <PREV>) change the current
  1287.             # message pointer...?
  1288.             movepage = ON
  1289.  
  1290.             # just show the names when expanding aliases?
  1291.             names = ON
  1292.  
  1293.             # when messages are copied into the outbound buffer, don't include headers?
  1294.             noheader = ON
  1295.  
  1296.  
  1297.  
  1298.           October 1, 1992                                           Page 19
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.           Elm Reference Guide                                   Version 2.4
  1305.  
  1306.  
  1307.             # start up by pointing to the first new message received, if possible?
  1308.             pointnew = ON
  1309.  
  1310.             # prompt for a command after the external pager exits?
  1311.             promptafter = ON
  1312.  
  1313.             # emulate the mailx message increment mode (only increment after something
  1314.             # has been 'done' to a message, either saved or deleted, as opposed to
  1315.             # simply each time something is touched)?
  1316.             resolve = ON
  1317.  
  1318.             # save messages, incoming and outbound, by login name of sender/recipient?
  1319.             savename = ON
  1320.  
  1321.             # save outbound messages by login name of sender/recipient even if the
  1322.             # associated folder doesn't already exist?
  1323.             forcename = OFF
  1324.  
  1325.             # are we running on an HP terminal and want HOME, PREV, NEXT, etc...?
  1326.             # (this implies "keypad=ON" too)
  1327.             softkeys = OFF
  1328.  
  1329.             # set the main prompt timeout for resynching...
  1330.             timeout = 60
  1331.  
  1332.             # display message title when displaying pages of message?
  1333.             titles = ON
  1334.  
  1335.             # are we good at it?  0=beginner, 1=intermediate, 2+ = expert!
  1336.             userlevel = 2
  1337.  
  1338.             # enable the weedout list to be read?
  1339.             weed = ON
  1340.  
  1341.             # what headers I DON'T want to see, ever.
  1342.             weedout = "Path:" "Via:" "Sent:" "Date" "Status:" "Original" "Phase"
  1343.                       "Subject:" "Fruit" "Sun" "Lat" "Buzzword" "Return" "Posted"
  1344.                       "Telephone" "Postal-Address" "Origin" "X-Sent-By-Nmail-V" "Resent"
  1345.                       "X-Location" "Source" "Mood" "Neuron" "Libido" "To:" "X-Mailer:"
  1346.                       "Full-Name:" "X-HPMAIL" "Cc:" "cc:" "Mmdf" "Network-" "Really-"
  1347.                       "Sender:" "Post" "Message-" "Relay-" "Article-" "Lines:"
  1348.                       "Approved:" "Xref:" "Organization:" "*end-of-user-headers*"
  1349.  
  1350.             # alternative addresses that I could receive mail from (usually a
  1351.             # forwarding mailbox) and don't want to have listed...
  1352.             alternatives = dsidev!elmdev  dsirel!elmdev  elmdev@dsidev  elmdev%dsidev
  1353.  
  1354.             # list of delivery precedences allowed, or empty to allow anything
  1355.             # precedence may be followed by optional ":priority" specification
  1356.             precedences = special-delivery:urgent air-mail:urgent first-class bulk junk
  1357.  
  1358.             # name of Character Set used with MIME text/plain Content-type
  1359.             # US-ASCII is default. Be aware that if you use a national charset
  1360.             # elm probably needs metamail to display US-ASCII. Elm tries to
  1361.  
  1362.  
  1363.           October 1, 1992                                           Page 20
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.           Elm Reference Guide                                   Version 2.4
  1370.  
  1371.  
  1372.             # know if that charset could display US-ASCII too, but the list
  1373.             # of us-ascii compatible charsets is not yet complete
  1374.             charset=US-ASCII
  1375.  
  1376.             # name of Character Set which the display supports. This is independent
  1377.             # of the above "charset".
  1378.             displaycharset=US-ASCII
  1379.  
  1380.             # list of Character Sets, which are more or less a superset of US-ASCII
  1381.             # so we know that we can display messages with charset=US-ASCII without
  1382.             # help of metamail
  1383.             compatcharsets = ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 ISO-8859-7 ISO-8859-8 ISO-8859-9
  1384.  
  1385.             # would you like to use termcap/terminfo ti/te entries?
  1386.             usetite = ON
  1387.  
  1388.             # Value by which message count is incremented while reading a new mailbox.
  1389.             # Setting this value to a number larger than one will speed up the time it
  1390.             # takes to read a large mailbox when using a slow terminal.
  1391.             readmsginc = 5
  1392.  
  1393.             # time in seconds which Elm will wait after displaying a transient message
  1394.             # and before erasing it.  Can be 0 or positive integer.
  1395.             sleepmsg = 2
  1396.  
  1397.  
  1398.  
  1399.           3333....  CCCCoooommmmmmmmaaaannnndddd LLLLiiiinnnneeee OOOOppppttttiiiioooonnnnssss
  1400.  
  1401.           There are a number of command line options to  the  Elm  program,
  1402.           with only one that needs to be remembered: "-?"or "-h" for help.
  1403.  
  1404.           The options are:
  1405.  
  1406.  
  1407.              -a    This allows you to have the "->"  arrow  pointer  rather
  1408.                    than  the  inverse  bar.   This  can  also be set in the
  1409.                    ._e_l_m/_e_l_m_r_c file with the boolean variable aaaarrrrrrrroooowwww.
  1410.  
  1411.  
  1412.              -c    Check  only.   This  is  useful  for  expanding  aliases
  1413.                    without  sending any mail.  The invocation is similar to
  1414.                    invoking Elm in send-only mode:
  1415.  
  1416.                          elm -c  _l_i_s_t-_o_f-_a_l_i_a_s_e_s
  1417.  
  1418.  
  1419.              -d _n  Set debug level to _n.  Useful for debugging the Elm pro-
  1420.                    gram, this option will create a file in your home direc-
  1421.                    tory called _E_L_M:_d_e_b_u_g._i_n_f_o containing a running  log  of
  1422.                    what  is  going  on  with the program.  Level _n can be 1
  1423.                    through 11, where the higher numbers generate more  out-
  1424.                    put.   This  option  might be disabled by the the person
  1425.                    who configured Elm for your system.
  1426.  
  1427.  
  1428.           October 1, 1992                                           Page 21
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.           Elm Reference Guide                                   Version 2.4
  1435.  
  1436.  
  1437.              -f _f_o_l_d_e_r
  1438.                    Read the specified folder rather than the default incom-
  1439.                    ing mailbox.  Note that you can use the same metacharac-
  1440.                    ters (e.g. '=') as when you _c_h_a_n_g_e _f_o_l_d_e_r_s  from  within
  1441.                    the  program.   You  can  also use the same abbreviatory
  1442.                    symbols ('!', '>' and  '<'),  but  remember  to  "single
  1443.                    quote"  them  in  case  they have special meaning in the
  1444.                    shell you use.
  1445.  
  1446.  
  1447.              -h or -?
  1448.                    Help message.  Gives a short list of all  these  options
  1449.                    and exits.
  1450.  
  1451.  
  1452.              -i _f_i_l_e
  1453.                    Include a prepared file in the edit buffer before  send-
  1454.                    ing.   This  facilitates  using  Elm with other programs
  1455.                    that interface with mail (like news readers,  for  exam-
  1456.                    ple).   There is an example of how to set up the _r_n news
  1457.                    reading program to use Elm in _T_h_e _E_l_m _U_s_e_r_s _G_u_i_d_e.   The
  1458.                    file  specified  is  copied into the temporary file just
  1459.                    before the signature file.
  1460.  
  1461.  
  1462.              -k    Keypad enable. This option lets  the  Elm  program  know
  1463.                    that you're on an HP terminal, and it can then interpret
  1464.                    the <PREV>, <NEXT> and  <HOME>/<SHIFT>-<HOME>  keys  ac-
  1465.                    cordingly.   If  you  are  not  on an HP terminal, it is
  1466.                    recommended that you do NOT use this  option.  See  also
  1467.                    the  kkkkeeeeyyyyppppaaaadddd  variable, described under BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss
  1468.                    in section 2.
  1469.  
  1470.  
  1471.              -K    Keypad + softkeys enable.  The Elm mailer can use the HP
  1472.                    softkeys as an alternative form of input.  If you speci-
  1473.                    fy this option be sure that you're  on  an  HP  terminal
  1474.                    that  can  accept  the standard 2622 terminal escape se-
  1475.                    quences! See also the ssssooooffffttttkkkkeeeeyyyyssss variable, described under
  1476.                    BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2.
  1477.  
  1478.  
  1479.              -m    Inhibit display  of  the  3-line  menu  when  using  the
  1480.                    mailer.   This,  of course, gives you three more message
  1481.                    headers per page instead.  See also the  mmmmeeeennnnuuuu  variable,
  1482.                    described under BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2.
  1483.  
  1484.  
  1485.              -s _s_u_b_j_e_c_t
  1486.                    In send-only and batch mode, this is how to indicate the
  1487.                    subject  of  the resulting message.  Please see the sec-
  1488.                    tion on NNNNoooonnnn----IIIInnnntttteeeerrrraaaaccccttttiiiivvvveeee UUUUsssseeeessss ooooffff EEEEllllmmmm  in  _T_h_e  _E_l_m  _U_s_e_r_s
  1489.                    _G_u_i_d_e for more information.
  1490.  
  1491.  
  1492.  
  1493.           October 1, 1992                                           Page 22
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.           Elm Reference Guide                                   Version 2.4
  1500.  
  1501.  
  1502.              -t    Disable use of the _t_e_r_m_c_a_p/_t_e_r_m_i_n_f_o ttttiiii////tttteeee  capabilities.
  1503.                    Many  terminal  emulators  require  it (not the least of
  1504.                    which is the OpenLook _c_m_d_t_o_o_l).  Some terminal emulators
  1505.                    clear  the  screen  on  tttteeee  (some _x_t_e_r_ms).  See also the
  1506.                    uuuusssseeeettttiiiitttteeee variable, described under BBBBoooooooolllleeeeaaaannnn  VVVVaaaarrrriiiiaaaabbbblllleeeessss  in
  1507.                    section 2.
  1508.  
  1509.  
  1510.              -z    This causes Elm not to start if you don't have any mail,
  1511.                    but  instead  to display the message "You have no mail."
  1512.                    This emulates the behavior  of  programs  like  _B_e_r_k_e_l_e_y
  1513.                    _M_a_i_l.
  1514.  
  1515.           All the above options default to reasonable values, so  there  is
  1516.           usually  no need to use them.  Furthermore, the most used options
  1517.           are available through the ._e_l_m/_e_l_m_r_c file, described  in  section
  1518.           2.
  1519.  
  1520.  
  1521.           4444....  MMMMuuuullllttttiiii----MMMMeeeeddddiiiiaaaa CCCCaaaappppaaaabbbbiiiilllliiiittttiiiieeeessss ooooffff EEEEllllmmmm
  1522.  
  1523.           Elm optionally provides you with some Multi-Media features, which
  1524.           are  compliant to the MIME (Multipurpose Internet Mail Extension)
  1525.           IETF draft.
  1526.  
  1527.           If the support is compiled into Elm, on the  receiving  side  Elm
  1528.           accesses  Metamail from Nathaniel Borenstein of Bellcore.  If you
  1529.           receive a MIME compliant message, Elm calls Metamail automatical-
  1530.           ly  to  display  the  message.  Metamail  asks you if you want to
  1531.           display each part of the message and uses  the  display  programs
  1532.           available  at  your  site. This is controlled through the _m_a_i_l_c_a_p
  1533.           file.
  1534.  
  1535.           On the sending side, there is a simple  mechanism  integrated  in
  1536.           Elm  to  compose MIME compliant messages. If you have one or more
  1537.           key lines of the form
  1538.  
  1539.                [include _f_i_l_e _c_o_n_t_e_n_t_t_y_p_e/_s_u_b_t_y_p_e _e_n_c_o_d_i_n_g]
  1540.  
  1541.           in the message body, at each of these key lines, a  file  is  in-
  1542.           cluded, and becomes a part of the message. The text lines before,
  1543.           between and after the _i_n_c_l_u_d_e lines go into extra  message  parts
  1544.           of type _t_e_x_t.
  1545.  
  1546.           As an example, say you want to include the file _f_o_o._g_i_f into your
  1547.           message,  which is a GIF image, and you want to use _b_a_s_e_6_4 encod-
  1548.           ing, use the following line:
  1549.  
  1550.                [include foo.gif image/gif base64]
  1551.  
  1552.           Or you want to include a text file which contains plain ASCII:
  1553.  
  1554.                [include foo.txt text/plain]
  1555.  
  1556.  
  1557.  
  1558.           October 1, 1992                                           Page 23
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.           Elm Reference Guide                                   Version 2.4
  1565.  
  1566.  
  1567.           The _e_n_c_o_d_i_n_g parameter is optional and the default is _7_b_i_t.
  1568.  
  1569.           Refer to  RFC1341  for  valid  _c_o_n_t_e_n_t_t_y_p_e/_s_u_b_t_y_p_e  and  _e_n_c_o_d_i_n_g
  1570.           parameter values.
  1571.  
  1572.  
  1573.           5555....  SSSSppppeeeecccciiiiaaaallll OOOOuuuuttttggggooooiiiinnnngggg MMMMaaaaiiiillll PPPPrrrroooocccceeeessssssssiiiinnnngggg
  1574.  
  1575.           There are a few extra features that Elm offers on  outgoing  mail
  1576.           that are worthy of mention.
  1577.  
  1578.           The first, and probably the most exciting feature, is the abili-
  1579.           ty  to  send _e_n_c_r_y_p_t_e_d mail! To do this is extremely simple:  you
  1580.           need merely to have two key lines
  1581.  
  1582.                [encode]
  1583.           and
  1584.                [clear]
  1585.  
  1586.           in the message body.
  1587.  
  1588.           Consider the following outgoing message:
  1589.  
  1590.                Joe,
  1591.                Remember that talk we had about Amy?  Well, I talked to my manager
  1592.                about it and he said...
  1593.                uhh...better encrypt this...the usual `key'...
  1594.                [encode]
  1595.                He said that Amy was having family problems and that it had been
  1596.                affecting her work.
  1597.                Given this, I went and talked to her, and told her I was sorry for
  1598.                getting angry.  She said that she understood.
  1599.                We're friends again!!
  1600.                [clear]
  1601.                Exciting stuff, eh?
  1602.                                              Mike
  1603.  
  1604.           While this is obviously quite readable while being typed into the
  1605.           editor,  as  soon  as  the  message is confirmed as wanting to be
  1606.           sent, the Elm mailer prompts with:
  1607.  
  1608.                Enter encryption key: @
  1609.  
  1610.           and accepts a key (a series of  8  or  less  characters)  without
  1611.           echoing  them  to  the  screen.  After entry, it will ask for the
  1612.           same key again to confirm it, then *_p_o_o_f*  it  will  encrypt  and
  1613.           send the mail.
  1614.  
  1615.  
  1616.           __________
  1617.           3. Unfortunately, at  many  non-US  sites,  it's  quite
  1618.           probable  that  you  won't  be able to use this feature
  1619.           since you won't have the _c_r_y_p_t() library available  due
  1620.           to licensing restrictions.
  1621.  
  1622.  
  1623.           October 1, 1992                                           Page 24
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.           Elm Reference Guide                                   Version 2.4
  1630.  
  1631.  
  1632.           If you have the ccccooooppppyyyy option enabled, the program will  save  your
  1633.           copy of the message encrypted too.  (This is to ensure the priva-
  1634.           cy and security of your mail archive, too.)
  1635.  
  1636.           If the mailer doesn't ask for the encryption  key,  it's  because
  1637.           you  don't have the [_e_n_c_o_d_e] entered as the first 8 characters of
  1638.           the line.  It MUST be so for this to work!!
  1639.  
  1640.           On the other end, a person receiving this mail (they must also be
  1641.           using  Elm  to receive it, since this mailer has a unique encryp-
  1642.           tion program) will be reading the message and  then  suddenly  be
  1643.           prompted:
  1644.  
  1645.                Enter decryption key: @
  1646.  
  1647.           and will again be asked to re-enter it to confirm.   The  program
  1648.           will then on-the-fly decrypt the mail and display each line as it
  1649.           is decoded.  The [_c_l_e_a_r] line signifies that the block to encrypt
  1650.           is done.
  1651.  
  1652.           Note that it is not possible currently to ppppiiiippppeeee or pppprrrriiiinnnntttt encrypted
  1653.           mail.
  1654.  
  1655.  
  1656.           The other feature on outgoing mail is the ability to specify what
  1657.           section  of  the message you want to have archived (assuming ccccooooppppyyyy
  1658.           is enabled) and what section you don't.  This is most useful  for
  1659.           sending out source file listings and so on.
  1660.  
  1661.           To indicate the end of the section that should be  saved  in  the
  1662.           archive, you need merely to have the key line
  1663.  
  1664.                [nosave]
  1665.           or
  1666.                [no save]
  1667.  
  1668.           appear by itself on a line.  This key line is  removed  from  the
  1669.           outgoing  mail,  and indicates the last line of the message to be
  1670.           saved.  Other than this, the saved mail is identical to the  out-
  1671.           going mail.
  1672.  
  1673.  
  1674.           6666....  CCCCuuuussssttttoooommmmiiiizzzzeeeedddd hhhheeeeaaaaddddeeeerrrr lllliiiinnnneeeessss
  1675.  
  1676.           The mailer provides a facility for  including  customized  header
  1677.           lines  in  the messages you send.  If you have an ._e_l_m/_e_l_m_h_e_a_d_e_r_s
  1678.           file, the mailer will include its contents immediately after  the
  1679.           regular  headers  of all outbound  mail.  The mailer supports use
  1680.           of the backquote convention in this file to run commands and sub-
  1681.           stitute  the  commands' output for the backquoted text.  Here's a
  1682.           typical ._e_l_m/_e_l_m_h_e_a_d_e_r_s file:
  1683.  
  1684.             Organization: Hewlett-Packard Laboratories
  1685.             Phone: (415)-555-1234
  1686.  
  1687.  
  1688.           October 1, 1992                                           Page 25
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.           Elm Reference Guide                                   Version 2.4
  1695.  
  1696.  
  1697.             Operating-System: `uname -srv`
  1698.  
  1699.           These lines will be inserted after all other header lines in  the
  1700.           message.
  1701.  
  1702.  
  1703.           7777....  CCCCoooommmmmmmmaaaannnnddddssss
  1704.  
  1705.  
  1706.           This section discusses each command in the Elm  program  in  more
  1707.           detail than above, including the prompts the user can expect upon
  1708.           executing the command, the meaning of different options, etc.
  1709.  
  1710.  
  1711.              ?     Help.  This command used once puts you in the _h_e_l_p mode,
  1712.                    where  any  key you press results in a one-line descrip-
  1713.                    tion of the key.  Pressing '?' again at this point  pro-
  1714.                    duces  a summary listing each command available.  Press-
  1715.                    ing '.' (period) leaves the help mode and returns you to
  1716.                    the command level.
  1717.  
  1718.  
  1719.              <space>
  1720.                    Display the current  message.   <space>  is  useful  for
  1721.                    reading through a mail folder.  When issued from the in-
  1722.                    dex screen, it displays the first screen of the  current
  1723.                    message.   When  issued  while  in the builtin pager, it
  1724.                    pages through the message to the end.   When  issued  at
  1725.                    the  end  of a message (with either the builtin pager or
  1726.                    an external pager), it displays the first screen of  the
  1727.                    next message not marked for deletion.
  1728.  
  1729.  
  1730.              <return>
  1731.                    Display the current message.  <return> behaves  somewhat
  1732.                    differently  from  <space>.   When  issued  while in the
  1733.                    builtin pager, it scrolls the  current  message  forward
  1734.                    one  line,  and then when issued at the end of a message
  1735.                    (with either the builtin pager or an external pager), it
  1736.                    redisplays  the first screen of the the _c_u_r_r_e_n_t message.
  1737.                    The latter is useful in case you have issued a non-pager
  1738.                    command  while  in the builtin pager and want to restart
  1739.                    the display of the current message.
  1740.  
  1741.  
  1742.              !     Shell.  This allows you to send a command to  the  shell
  1743.                    without  leaving  the program.  Note that it is possible
  1744.                    that the person who installed Elm on  your  system  dis-
  1745.                    abled this feature.
  1746.  
  1747.  
  1748.              |     Pipe.  This command allows you to pipe the current  mes-
  1749.                    sage or the set of _t_a_g_g_e_d messages through other filters
  1750.                    as you desire.  The shell used for the entire command is
  1751.  
  1752.  
  1753.           October 1, 1992                                           Page 26
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.           Elm Reference Guide                                   Version 2.4
  1760.  
  1761.  
  1762.                    either the one specified in your ._e_l_m/_e_l_m_r_c file, or the
  1763.                    default shell (see the sssshhhheeeellllllll variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiii----
  1764.                    aaaabbbblllleeeessss in section 2).
  1765.  
  1766.  
  1767.              /     Pattern match.  This command, at the command level,  al-
  1768.                    lows the user to search through all the _f_r_o_m and _s_u_b_j_e_c_t
  1769.                    lines of the current folder starting at the current mes-
  1770.                    sage and continuing through the end.  If the first char-
  1771.                    acter of the pattern is a '/', then Elm tries  to  match
  1772.                    the  specified  pattern  against _a_n_y line in the folder.
  1773.                    Again, this works from the current message  through  the
  1774.                    end.  Both searches are case insensitive.
  1775.  
  1776.  
  1777.              - or <left>
  1778.                    Display the previous page of the message index.
  1779.  
  1780.  
  1781.              + or <right>
  1782.                    Display the next page of the message index.
  1783.  
  1784.  
  1785.              <number><return>
  1786.                    Specify new current message.  When you type in  any  di-
  1787.                    git,  Elm  prompts  "Set current to : _n", where _n is the
  1788.                    digit entered.  Continue entering the  full  number  and
  1789.                    terminate with <return>.  Note that changing the current
  1790.                    message to a message not on the current page of  headers
  1791.                    results in a new page being displayed.
  1792.  
  1793.  
  1794.              <     Scan message  for  calendar  entries.   A  rather  novel
  1795.                    feature of the Elm mailer is the ability to automatical-
  1796.                    ly incorporate calendar/agenda information from  a  mail
  1797.                    message  into  the  user's  calendar file.  This is done
  1798.                    quite simply; any line that has the pattern
  1799.  
  1800.                         -> _c_a_l_e_n_d_a_r _e_n_t_r_y
  1801.  
  1802.                    is automatically added to the user's ccccaaaalllleeeennnnddddaaaarrrr file  when
  1803.                    the '<' command is used (see the ccccaaaalllleeeennnnddddaaaarrrr variable under
  1804.                    SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).
  1805.  
  1806.                    For example, let's say we had a message with the text:
  1807.  
  1808.                         Regardless of  that  meeting,  here's  the  seminar
  1809.                    stuff:
  1810.                         -> 8/03 3:00pm: AI Seminar with Ira Goldstein of HP
  1811.                    Labs
  1812.  
  1813.                    then using the '<' command would add the line:
  1814.  
  1815.                         8/03 3:00pm: AI Seminar with Ira  Goldstein  of  HP
  1816.  
  1817.  
  1818.           October 1, 1992                                           Page 27
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.           Elm Reference Guide                                   Version 2.4
  1825.  
  1826.  
  1827.                    Labs
  1828.  
  1829.                    to the user's ccccaaaalllleeeennnnddddaaaarrrr file.
  1830.  
  1831.  
  1832.              a     Alias.  The alias system is a way by which more  complex
  1833.                    mail  addresses can be shortened for the mail user.  For
  1834.                    example:
  1835.  
  1836.                         joe, bleu   =  Joe Bleu  =   joe@hpfcla.SSO.HP.COM
  1837.  
  1838.                    which allows mail to "joe" or "bleu" with the system ex-
  1839.                    panding  the  address  properly.   Obviously, this saves
  1840.                    having to remember complex addresses.  A  more  detailed
  1841.                    discussion  can  be found in either the section entitled
  1842.                    _T_h_e _A_l_i_a_s _S_y_s_t_e_m in this document or _T_h_e _E_l_m _A_l_i_a_s  _S_y_s_-
  1843.                    _t_e_m _U_s_e_r_s _G_u_i_d_e.
  1844.  
  1845.  
  1846.              b     Bounce mail.  This "remails" mail  to  someone  else  in
  1847.                    such  a  way  as to make the return address the original
  1848.                    sender rather than you.  The ffffoooorrrrwwwwaaaarrrrdddd command is similar,
  1849.                    but it makes the return address _y_o_u rather than the ori-
  1850.                    ginal sender.
  1851.  
  1852.  
  1853.              C     Copy to folder.  This command copies the current message
  1854.                    or set of tagged messages to a folder.  If there is any-
  1855.                    thing in the folder currently the message is appended to
  1856.                    the end, otherwise the folder is created containing only
  1857.                    the newly copied messages.  The prompt for this  command
  1858.                    is  "Copy  to folder: ".  A response of <return> cancels
  1859.                    the command and returns the user to the command  prompt.
  1860.                    The  usual  filename  metacharacters are available, too.
  1861.                    That is, this command expands filenames with '~' (tilde)
  1862.                    to  your home directory and '=' to your mmmmaaaaiiiillllddddiiiirrrr directo-
  1863.                    ry, if defined.  This command also allows you to use '>'
  1864.                    for  your  rrrreeeecccceeeeiiiivvvveeeeddddmmmmaaaaiiiillll  folder,  '<'  for your sssseeeennnnttttmmmmaaaaiiiillll
  1865.                    folder, '.' for the last folder you saved  or  copied  a
  1866.                    message  to  and  "@alias"  for  the  default folder for
  1867.                    "alias".  If you use a shell wildcard  in  the  file  or
  1868.                    folder  name, you are given a list of all files or fold-
  1869.                    ers which match the wildcard.  Elm uses  your  shell  to
  1870.                    find  the  names,  so whatever wildcards you are used to
  1871.                    will work.  Finally, you  can  also  enter  '?'  at  the
  1872.                    prompt to get detailed help.
  1873.  
  1874.  
  1875.              c     Change folder.  Specifying this command allows the  user
  1876.                    to change the folder that is currently being read.  This
  1877.                    is intended for perusal and reply to previously archived
  1878.                    messages.   The  prompt  is  "Name  of new folder: " and
  1879.                    entering <return> cancels the operation, while  entering
  1880.                    a  filename  causes the program to read that file as the
  1881.  
  1882.  
  1883.           October 1, 1992                                           Page 28
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.           Elm Reference Guide                                   Version 2.4
  1890.  
  1891.  
  1892.                    new folder, if possible.  This command expands filenames
  1893.                    with  '~' (tilde) to your home directory and '=' to your
  1894.                    mmmmaaaaiiiillllddddiiiirrrr directory, if defined.  This command also allows
  1895.                    you to use '!' as an abbreviation for you incoming mail-
  1896.                    box, '>' for your  rrrreeeecccceeeeiiiivvvveeeeddddmmmmaaaaiiiillll  folder,  '<'  for  your
  1897.                    sssseeeennnnttttmmmmaaaaiiiillll  folder,  '.'  for the last folder you saved or
  1898.                    copied a message to and "@alias" for the default  folder
  1899.                    for "alias".  If you use a shell wildcard in the file or
  1900.                    folder name, you are given a list of all files or  fold-
  1901.                    ers  which  match  the wildcard.  Elm uses your shell to
  1902.                    find the names, so whatever wildcards you  are  used  to
  1903.                    will  work.   Finally,  you  can  also  enter '?' at the
  1904.                    prompt to get detailed help.
  1905.  
  1906.  
  1907.              d, u  Delete and undelete.  Neither of these two commands have
  1908.                    any prompts and indicate their action by either adding a
  1909.                    'D' to the current message index entry (indicating dele-
  1910.                    tion  pending)  or removing the 'D' (indicating that the
  1911.                    message isn't set for deletion).
  1912.  
  1913.  
  1914.              <control>-D
  1915.                    This command allows you to easily mark for deletion  all
  1916.                    messages   that   have   a   specific   pattern.   After
  1917.                    <<<<ccccoooonnnnttttrrrroooollll>>>>----DDDD is pressed, Elm prompts for  the  string  to
  1918.                    match  in  either  the _f_r_o_m or _s_u_b_j_e_c_t lines of the mes-
  1919.                    sages.
  1920.  
  1921.  
  1922.              <control>-U
  1923.                    This is the direct opposite command to  the  <<<<ccccoooonnnnttttrrrroooollll>>>>----DDDD
  1924.                    command  - all messages that match the specified pattern
  1925.                    have any mark for deletion removed by this command.
  1926.  
  1927.  
  1928.              e     Edit mailbox.  This allows you  to  modify  the  current
  1929.                    mail  file at a single keystroke.  This is mostly useful
  1930.                    for editing  messages  before  saving  them.   Modifying
  1931.                    headers  should  be  done  with extreme caution, as they
  1932.                    contain routing information and other  vital  stuff  for
  1933.                    full  functionality.   This  command  may be disabled by
  1934.                    whoever configured your Elm installation.
  1935.  
  1936.  
  1937.              f     Forward.  Allows the user to forward the current message
  1938.                    to  another user.  This copies the message into the edit
  1939.                    buffer and allows the user to add their own message too.
  1940.                    The  prompt is "Forward to:" and will expand an alias if
  1941.                    entered.  See also bbbboooouuuunnnncccceeee, above.
  1942.  
  1943.                    Elm will ask you if you want to edit the message  before
  1944.                    sending  it.   If  you answer _y_e_s, Elm will prepend your
  1945.                    prefix string to each line of the message, and  let  you
  1946.  
  1947.  
  1948.           October 1, 1992                                           Page 29
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.           Elm Reference Guide                                   Version 2.4
  1955.  
  1956.  
  1957.                    edit  the  result.  If you do not want the prefix string
  1958.                    on each line, answer _n_o; you will have another chance to
  1959.                    edit  the  message when you get to the "send" menu.  See
  1960.                    the pppprrrreeeeffffiiiixxxx variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2.
  1961.  
  1962.  
  1963.              g     Group reply.  Identical to rrrreeeeppppllllyyyy below, except that  the
  1964.                    response  is  mailed  to  _a_l_l _r_e_c_i_p_i_e_n_t_s of the original
  1965.                    message except yourself. See the  aaaalllltttteeeerrrrnnnnaaaattttiiiivvvveeeessss  variable
  1966.                    under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2.
  1967.  
  1968.  
  1969.              h     Display the current message  with  all  headers  intact.
  1970.                    When  you display a message with other commands, certain
  1971.                    header lines are formatted and others discarded  accord-
  1972.                    ing  to  the  wwwweeeeeeeeddddlllliiiisssstttt  variable, described under SSSSttttrrrriiiinnnngggg
  1973.                    VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2.
  1974.  
  1975.  
  1976.              i     Return to the index screen, when issued in  the  builtin
  1977.                    pager or at the end of a message with either the builtin
  1978.                    pager or an external pager.
  1979.  
  1980.  
  1981.              j or <down>, k or <up>
  1982.                    These four keys work similarly to what they would do  in
  1983.                    _v_i  or  any  of the other (precious few) screen oriented
  1984.                    programs.  The jjjj and <<<<ddddoooowwwwnnnn>>>> keys move the  current  mes-
  1985.                    sage  pointer down to the next message skipping over any
  1986.                    marked deleted (going to the next page if necessary) and
  1987.                    the  kkkk  and  <<<<uuuupppp>>>>  keys move the current message pointer
  1988.                    back to the previous message skipping  over  any  marked
  1989.                    deleted (also changing pages if necessary).
  1990.  
  1991.  
  1992.              J, K  These two keys work similarly to their lower case  coun-
  1993.                    terparts,  except that they don't skip over deleted mes-
  1994.                    sages.
  1995.  
  1996.  
  1997.              l     Limit.  This feature allows you to specify a  subset  of
  1998.                    the  existing  messages  to be dealt with.  For example,
  1999.                    let's say we had a folder with four hundred messages  in
  2000.                    it, with only four or five different subjects.  We could
  2001.                    then limit what we're dealing with by  using  the  lllliiiimmmmiiiitttt
  2002.                    command.  Pressing llll would result in the prompt:
  2003.  
  2004.                         Criteria:
  2005.  
  2006.                    to which we could answer "subject _s_t_r_i_n_g", "from _s_t_r_i_n_g"
  2007.                    or  "to  _s_t_r_i_n_g".  In our example, we could use "subject
  2008.                    programming" as a criterion for selection.   Once  we've
  2009.                    limited  our  selections,  the  screen is rewritten with
  2010.                    just the selected messages and the top line  changes  to
  2011.  
  2012.  
  2013.           October 1, 1992                                           Page 30
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.           Elm Reference Guide                                   Version 2.4
  2020.  
  2021.  
  2022.                    have a message like:
  2023.  
  2024.                    Folder is "=elm" with 92 shown out of 124 [Elm 2.4]
  2025.  
  2026.                    We can further limit selections by using the  lllliiiimmmmiiiitttt  op-
  2027.                    tion repeatedly to enter further criteria.
  2028.  
  2029.                    To clear all the criteria and get back to the  "regular"
  2030.                    display,  simply  enter  "all" as the limiting criteria.
  2031.                    It should be noted that  the  selection  based  on  "to"
  2032.                    isn't  fully  implemented  for  this  version,  so it is
  2033.                    recommended that users stay with "subject" and "from" as
  2034.                    the basis for their criteria.
  2035.  
  2036.  
  2037.              m     Mail.  Send mail to a specified user.  The prompt  asso-
  2038.                    ciated  with this command is "Send mail to: ".  Entering
  2039.                    an alias name results in the full address being  rewrit-
  2040.                    ten in parenthesis immediately.  This prompt is followed
  2041.                    by "Subject: " which allows  the  user  to  title  their
  2042.                    note.   The  final prompt is "Copies to: ", which allows
  2043.                    other people specified to receive "carbon copies" of the
  2044.                    message,  but see the aaaasssskkkkcccccccc variable under BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiii----
  2045.                    aaaabbbblllleeeessss in section 2.  Upon entering all three  items  the
  2046.                    editor is invoked and the message can be composed.
  2047.  
  2048.  
  2049.              n     Next message that is not marked  for  deletion.   Useful
  2050.                    for  displaying  successive  messages in a folder.  When
  2051.                    issued from the index screen, it  displays  the  current
  2052.                    message,  and  when issued while in the builtin pager or
  2053.                    at the end of a message (with either the  builtin  pager
  2054.                    or  an  external pager), it displays the first screen of
  2055.                    the next message not marked for deletion.
  2056.  
  2057.  
  2058.              o     Options.  This full-screen display allows you  to  alter
  2059.                    the  settings  of  a number of parameters, including the
  2060.                    current sorting method, the method  of  printing  files,
  2061.                    the  calendar  file,  the  save  file,  and so on.  It's
  2062.                    self-documenting (where have you heard _t_h_a_t before?)  so
  2063.                    isn't explained in too much detail here.  See the ccccoooonnnnffffiiii----
  2064.                    ggggooooppppttttiiiioooonnnnssss variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2.
  2065.  
  2066.  
  2067.              p     Print.  This allows you to print out the current message
  2068.                    or  the tagged messages to a previously defined printer.
  2069.                    See the pppprrrriiiinnnntttt variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section
  2070.                    2.
  2071.  
  2072.  
  2073.              q     Quit.  If you in the pager, you are returned to the  in-
  2074.                    dex  screen.  If  you are at the index screen, Elm quits
  2075.                    altogether.  However, if you have the aaaasssskkkk  variable  set
  2076.  
  2077.  
  2078.           October 1, 1992                                           Page 31
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.           Elm Reference Guide                                   Version 2.4
  2085.  
  2086.  
  2087.                    ON,  Elm  first  prompts  you for the disposition of the
  2088.                    messages in the current folder.   If  any  messages  are
  2089.                    marked  for  deletion, it asks if you want them deleted.
  2090.                    If the current folder is your incoming mailbox, you  are
  2091.                    also asked if read messages should be stored in your rrrreeee----
  2092.                    cccceeeeiiiivvvveeeeddddmmmmaaaaiiiillll folder, and if unread messages should be kept
  2093.                    in  the  incoming mailbox.  The default answers to these
  2094.                    questions are set by the  ._e_l_m/_e_l_m_r_c  variables  aaaallllwwwwaaaayyyyssss----
  2095.                    ddddeeeelllleeeetttteeee,  aaaallllwwwwaaaayyyyssssssssttttoooorrrreeee,  and aaaallllwwwwaaaayyyysssskkkkeeeeeeeepppp (see BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiii----
  2096.                    aaaabbbblllleeeessss in section 2).  However, if you elect to not store
  2097.                    your  read  messages (i.e. keep them) it is presumed you
  2098.                    want to keep your unread messages, too.
  2099.  
  2100.  
  2101.              Q     Quick quit.  This behaves similar to  the  qqqquuuuiiiitttt  command
  2102.                    except  that  you  are never prompted for answers to the
  2103.                    message disposition questions.  Elm disposes of messages
  2104.                    according  to  the values you have set for aaaallllwwwwaaaayyyyssssddddeeeelllleeeetttteeee,
  2105.                    aaaallllwwwwaaaayyyyssssssssttttoooorrrreeee, and aaaallllwwwwaaaayyyysssskkkkeeeeeeeepppp in your ._e_l_m/_e_l_m_r_c file (see
  2106.                    BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).
  2107.  
  2108.  
  2109.              r     Reply.  Reply to the sender of the current message.   If
  2110.                    the  aaaauuuuttttooooccccooooppppyyyy  variable is set to OFF in your ._e_l_m/_e_l_m_r_c
  2111.                    file, Elm prompts "Copy message? (y/n)",  to  which  you
  2112.                    can  specify whether or not a copy of the source message
  2113.                    is to be copied into the edit buffer.  If copied in, all
  2114.                    lines  from  the  message  are prepended with the pppprrrreeeeffffiiiixxxx
  2115.                    character sequence specified  in  your  ._e_l_m/_e_l_m_r_c  file
  2116.                    (see SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).
  2117.  
  2118.  
  2119.              s     Save to folder.  This command is like the ccccooooppppyyyy  command,
  2120.                    except  that  the saved messages are marked for deletion
  2121.                    and, if you are saving just  the  current  message,  the
  2122.                    current  message  pointer is incremented afterwards (see
  2123.                    the rrrreeeessssoooollllvvvveeee variable under BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss in  section
  2124.                    2).   This command expands folder names with '~' (tilde)
  2125.                    to your home directory and '=' to your mmmmaaaaiiiillllddddiiiirrrr  directo-
  2126.                    ry, if defined.  This command also allows you to use '>'
  2127.                    for your rrrreeeecccceeeeiiiivvvveeeeddddmmmmaaaaiiiillll  folder,  '<'  for  your  sssseeeennnnttttmmmmaaaaiiiillll
  2128.                    folder (see SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2), '.' (period)
  2129.                    for the last folder you saved or copied a message to and
  2130.                    "@alias" for the default folder for "alias".
  2131.  
  2132.  
  2133.              t     Tag.  Tag the current message for a later operation.
  2134.  
  2135.  
  2136.  
  2137.           __________
  2138.           4. Currently only ccccooooppppyyyy, ppppiiiippppeeee, pppprrrriiiinnnntttt, and  ssssaaaavvvveeee  support
  2139.           this.
  2140.  
  2141.  
  2142.           October 1, 1992                                           Page 32
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.           Elm Reference Guide                                   Version 2.4
  2149.  
  2150.  
  2151.              T     Tag and move to next undeleted message.  This command is
  2152.                    like  the  `Tag' command but also increments the current
  2153.                    message pointer to the next undeleted message.
  2154.  
  2155.  
  2156.              <control>-T
  2157.                    Tag  all  messages  containing  the  specified  pattern.
  2158.                    Since  _t_a_g_g_i_n_g  messages can occur on screens other than
  2159.                    the one being viewed, Elm first checks  to  see  if  any
  2160.                    messages  are currently _t_a_g_g_e_d and ask you if you'd like
  2161.                    to remove those tags.  After that, it will,  similar  to
  2162.                    the  <<<<ccccoooonnnnttttrrrroooollll>>>>----DDDD  command, prompt for a pattern to match
  2163.                    and then mark all messages that contain the (case insen-
  2164.                    sitive) pattern in either the _f_r_o_m or _s_u_b_j_e_c_t lines.
  2165.  
  2166.  
  2167.              x     Exit.  This leaves Elm and discards any changes  to  the
  2168.                    mailbox.   If  changes  are  pending  (such  as messages
  2169.                    marked for deletion) you are asked to confirm discarding
  2170.                    the  changes.  If confirmed, no messages are deleted and
  2171.                    the status of all messages is unchanged.  That  is,  any
  2172.                    messages  that were new will remain new instead of being
  2173.                    noted as old, and any messages that were  read  for  the
  2174.                    first time will be again noted as unread.
  2175.  
  2176.  
  2177.              X     Exit immediately.  This leaves Elm in the quickest  pos-
  2178.                    sible manner without even prompting about discarding the
  2179.                    changes to the mailbox.  No messages are deleted and the
  2180.                    status  of all messages is unchanged.  That is, any mes-
  2181.                    sages that were new will remain  new  instead  of  being
  2182.                    noted  as  old,  and any messages that were read for the
  2183.                    first time will be again noted as unread.
  2184.  
  2185.  
  2186.           When you are about to send a message with the ffffoooorrrrwwwwaaaarrrrdddd,  mmmmaaaaiiiillll,  or
  2187.           rrrreeeeppppllllyyyy commands (see above), a small menu of the following options
  2188.           appears:
  2189.  
  2190.  
  2191.              c     Specify the folder for saving a  copy  of  the  message.
  2192.                    This  allows  you  to  override  the ccccooooppppyyyy, ffffoooorrrrcccceeeennnnaaaammmmeeee and
  2193.                    ssssaaaavvvveeeennnnaaaammmmeeee variables from your ._e_l_m/_e_l_m_r_c file (see BBBBoooooooolllleeee----
  2194.                    aaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).  It prompts you for the name
  2195.                    of the folder where a copy of the outgoing message is to
  2196.                    be  saved.   The  default  displayed is taken from those
  2197.                    three ._e_l_m/_e_l_m_r_c options and can be changed.  This  com-
  2198.                    mand  also  allows  you to use '>' for your rrrreeeecccceeeeiiiivvvveeeeddddmmmmaaaaiiiillll
  2199.                    folder and '<' for  your  sssseeeennnnttttmmmmaaaaiiiillll  folder  (see  SSSSttttrrrriiiinnnngggg
  2200.                    VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2), and '=?' to mean "conditionally
  2201.                    save by name" and '=' to mean "unconditionally  save  by
  2202.                    name".  Since you could next enter the eeeeddddiiiitttt hhhheeeeaaaaddddeeeerrrrssss com-
  2203.                    mand and change the recipients of your message, the name
  2204.                    of  the  folder  under the two "save by name" options is
  2205.  
  2206.  
  2207.           October 1, 1992                                           Page 33
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.           Elm Reference Guide                                   Version 2.4
  2214.  
  2215.  
  2216.                    not established until you enter the  sssseeeennnndddd  command.   If
  2217.                    you use a shell wildcard in the file or folder name, you
  2218.                    are given a list of all files or folders which match the
  2219.                    wildcard.   Elm  uses  your  shell to find the names, so
  2220.                    whatever wildcards you are used to will work.   You  can
  2221.                    also enter '?' at the prompt to get help about saving.
  2222.  
  2223.  
  2224.              e     Edit message (or form).  Entering  this  command  allows
  2225.                    you to edit the text of your message or form.
  2226.  
  2227.  
  2228.              f     Forget.  This gets you out  of  sending  a  message  you
  2229.                    started.  If  you  are in send-only mode, the message is
  2230.                    saved to the file _C_a_n_c_e_l_e_d._m_a_i_l in your home  directory.
  2231.                    Otherwise  it can be restored at the next ffffoooorrrrwwwwaaaarrrrdddd, mmmmaaaaiiiillll,
  2232.                    or rrrreeeeppppllllyyyy command during the current session of Elm After
  2233.                    issuing  one of those commands you will be prompted with
  2234.                    "Recall last kept message?"
  2235.  
  2236.  
  2237.              h     Edit headers.  This puts you  into  the  _h_e_a_d_e_r  _e_d_i_t_i_n_g
  2238.                    _m_o_d_e, whereby you can edit any of the various headers of
  2239.                    your message.   Like  the  options  screen,  it's  self-
  2240.                    documenting,  so  it  isn't explained in too much detail
  2241.                    here.
  2242.  
  2243.  
  2244.              i     Run _i_s_p_e_l_l (or some other configured spelling correction
  2245.                    program).   The  outgoing  message is run through an in-
  2246.                    teractive spelling correction program if one  is  avail-
  2247.                    able.   The  default  spelling program is the GNU _i_s_p_e_l_l
  2248.                    program unless changed by the person who  installed  Elm
  2249.                    on your system.
  2250.  
  2251.  
  2252.              m     Make form.  This converts the message  you  have  edited
  2253.                    into a form.  See the ffffoooorrrrmmmmssss variable under BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiii----
  2254.                    aaaabbbblllleeeessss in section 2 and _T_h_e _E_l_m _F_o_r_m_s _M_o_d_e _G_u_i_d_e for more
  2255.                    details.
  2256.  
  2257.  
  2258.              s     Send.  This sends the message as is without any  further
  2259.                    ado.
  2260.  
  2261.  
  2262.           8888....  UUUUssssiiiinnnngggg EEEEllllmmmm wwwwiiiitttthhhh  eeeeddddiiiittttoooorrrr ==== nnnnoooonnnneeee""""""""
  2263.  
  2264.           The Elm program also supports a builtin editor for simple message
  2265.           composition that is very (very) similar to the simple line editor
  2266.           available from the _B_e_r_k_e_l_e_y _M_a_i_l system.
  2267.  
  2268.           To access it, you need merely to specify  "eeeeddddiiiittttoooorrrr====nnnnoooonnnneeee"  in  your
  2269.           ._e_l_m/_e_l_m_r_c  file.   With  that,  any messages to be composed that
  2270.  
  2271.  
  2272.           October 1, 1992                                           Page 34
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.           Elm Reference Guide                                   Version 2.4
  2279.  
  2280.  
  2281.           don't already have text in the buffer (e.g.  no  reply  with  the
  2282.           text included, etc.), will use this editor.
  2283.  
  2284.           From the builtin editor, the following options are available  for
  2285.           use.   Each command here is prefixed with a '~' (tilde).  You can
  2286.           specify a different "escape" character in your  ._e_l_m/_e_l_m_r_c  file,
  2287.           if  you desire (see the eeeessssccccaaaappppeeee variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in
  2288.           section 2).
  2289.  
  2290.  
  2291.  
  2292.             ~? Print a brief help menu.
  2293.  
  2294.  
  2295.             ~b Change the Blind-Carbon-Copy list.
  2296.  
  2297.  
  2298.             ~c Change the Carbon-Copy list.
  2299.  
  2300.  
  2301.             ~e Invoke the eeeeaaaassssyyyyeeeeddddiiiittttoooorrrr editor on  the  message,  if  possible
  2302.                (see  the eeeeaaaassssyyyyeeeeddddiiiittttoooorrrr variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in sec-
  2303.                tion 2).
  2304.  
  2305.  
  2306.             ~f Add the specified message or current message.
  2307.  
  2308.  
  2309.             ~h Change all the available headers (To, Cc, Bcc, and Subject).
  2310.  
  2311.  
  2312.             ~m Same as ~~~~ffff, but with the  current  pppprrrreeeeffffiiiixxxx  (see  the  pppprrrreeeeffffiiiixxxx
  2313.                variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).
  2314.  
  2315.  
  2316.             ~o Invoke a user specified editor on the message.
  2317.  
  2318.  
  2319.             ~p Print out, on the screen, the message as typed in so far.
  2320.  
  2321.  
  2322.             ~r Include (read in) the contents of the specified file.
  2323.  
  2324.  
  2325.             ~s Change the Subject line.
  2326.  
  2327.  
  2328.             ~t Change the To list.
  2329.  
  2330.  
  2331.             ~v Invoke the _v_i visual editor on the message.
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.           October 1, 1992                                           Page 35
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.           Elm Reference Guide                                   Version 2.4
  2344.  
  2345.  
  2346.             ~< Execute the specified UNIX command, entering the  output  of
  2347.                the command into the editor buffer upon completion.  For ex-
  2348.                ample, "~< who" includes the output of the  _w_h_o  command  in
  2349.                your message.
  2350.  
  2351.  
  2352.             ~! Execute a UNIX command if one is given  (as  in  "~!ls")  or
  2353.                give  the  user a shell, either from the sssshhhheeeellllllll variable set-
  2354.                ting in the ._e_l_m/_e_l_m_r_c file or the default  (see  the  sssshhhheeeellllllll
  2355.                variable under SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).
  2356.  
  2357.  
  2358.             ~~ Add a line prefixed by a single '~' character.
  2359.  
  2360.           A useful note is that the ~~~~ffff and ~~~~mmmm commands invoke  the  _r_e_a_d_m_s_g
  2361.           command,  so  you can pass parameters along too.  For example, if
  2362.           we wanted to include a message from Joe, without any headers, but
  2363.           with each line prefixed, we could use:
  2364.  
  2365.                ~m -n Joe
  2366.  
  2367.           to accomplish the task.
  2368.  
  2369.           To learn more about how they work, try 'em!
  2370.  
  2371.  
  2372.           9999....  TTTThhhheeee AAAAlllliiiiaaaassss SSSSyyyysssstttteeeemmmm
  2373.  
  2374.           As mentioned previously, there exists in the Elm system a set  of
  2375.           aliases that associate an arbitrary word (such as a persons name)
  2376.           to a complex address or group.  The advantages  are  readily  ap-
  2377.           parent; rather than remembering an address of the form:
  2378.  
  2379.                host1!host2! ... !hostN!user
  2380.  
  2381.           the user merely has to remember a single word.
  2382.  
  2383.           Two alias tables are available for a each user within Elm, namely
  2384.           the  system  alias  file  and  the user's alias file.  The system
  2385.           alias file is created and maintained (by the  system  administra-
  2386.           tor)  by  editing the file name defined for _S_Y_S_T_E_M__A_L_I_A_S_E_S in the
  2387.           _s_y_s_d_e_f_s._h file (see _T_h_e _E_l_m _C_o_n_f_i_g_u_r_a_t_i_o_n _G_u_i_d_e) and as described
  2388.           in  the documentation with the _n_e_w_a_l_i_a_s command, then running the
  2389.           _n_e_w_a_l_i_a_s program.
  2390.  
  2391.           An individual user can also have an alias  file  which  works  in
  2392.           conjunction  with  the  system  aliases.   To do this, one merely
  2393.           needs to enter the alias menu system and create aliases with  the
  2394.           aaaa (aaaalllliiiiaaaassss ccccuuuurrrrrrrreeeennnntttt mmmmeeeessssssssaaaaggggeeee) or nnnn (mmmmaaaakkkkeeee nnnneeeewwww aaaalllliiiiaaaassss) commands.  Alter-
  2395.           natively, the user can peruse the documentation for the  _n_e_w_a_l_i_a_s
  2396.           command  and create a file as indicated therein.  After executing
  2397.           the program, the aliases are available for use from within Elm.
  2398.  
  2399.           Please refer to _T_h_e _E_l_m _A_l_i_a_s _U_s_e_r_s _G_u_i_d_e for complete details.
  2400.  
  2401.  
  2402.           October 1, 1992                                           Page 36
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.           Elm Reference Guide                                   Version 2.4
  2409.  
  2410.  
  2411.           Within Elm, however, the alias system acts as  an  entirely  dif-
  2412.           ferent  program,  with  its  own  display,  own commands, and own
  2413.           mini-menu.  The aliases are presented in a list  similar  to  the
  2414.           index screen with the following menu:
  2415.  
  2416.  
  2417.                 Alias commands:  ?=help, <n>=set current to n, /=search pattern
  2418.                a)lias current message, c)hange, d)elete, e)dit aliases.text, f)ully expand,
  2419.                l)imit display, m)ail, n)ew alias, r)eturn, t)ag, u)ndelete, or e(x)it
  2420.  
  2421.                Alias: @
  2422.  
  2423.  
  2424.           The commands are:
  2425.  
  2426.  
  2427.             ?  Help.  This command used once puts you  in  the  _h_e_l_p  mode,
  2428.                where  any  key you press will result in a one-line descrip-
  2429.                tion of the key.  Pressing '?' again at this point  produces
  2430.                a  summary  listing  each  command  available.  Pressing '.'
  2431.                (period) leaves the help mode and returns you to  the  alias
  2432.                command prompt.
  2433.  
  2434.  
  2435.             <space> or <return> or v
  2436.                Display the current alias address.   The  alias  address  is
  2437.                displayed  below the alias menu.  This command allows you to
  2438.                verify the address for a person or the contents of  a  group
  2439.                alias.
  2440.  
  2441.  
  2442.             $  Resynchronize the alias text file  ($_H_O_M_E/._e_l_m/_a_l_i_a_s_e_s._t_e_x_t)
  2443.                and  alias database by rebuilding the database from the text
  2444.                file by running _n_e_w_a_l_i_a_s.  Aliases marked for  deletion  are
  2445.                removed,  tagged  aliases  are untagged, and new and changed
  2446.                aliases are recognized.  The alias screen is updated to  re-
  2447.                flect these changes.
  2448.  
  2449.  
  2450.             /  Pattern match.  This  command  allows  the  user  to  search
  2451.                through all the _a_l_i_a_s and _u_s_e_r_n_a_m_e entries in the alias list
  2452.                starting at the current alias  and  continuing  through  the
  2453.                end.   If  the first character of the pattern is a '/', then
  2454.                Elm also includes the _c_o_m_m_e_n_t and the fully expanded _a_d_d_r_e_s_s
  2455.                fields in the search.  The search is case insensitive.  This
  2456.                allows the user to find a specific alias  in  the  situation
  2457.                where there are a large number of aliases.
  2458.  
  2459.  
  2460.             a  Alias current message.  This allows the user  to  create  an
  2461.                alias  that has the return address of the current message as
  2462.                the address field of the alias.  It  prompts  for  a  unique
  2463.                alias  name.   If  the alias name is not unique, you will be
  2464.                asked if you  wish  to  replace  the  existing  alias.   For
  2465.  
  2466.  
  2467.           October 1, 1992                                           Page 37
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.           Elm Reference Guide                                   Version 2.4
  2474.  
  2475.  
  2476.                further  information,  please see _T_h_e _E_l_m _A_l_i_a_s _S_y_s_t_e_m _U_s_e_r_s
  2477.                _G_u_i_d_e.
  2478.  
  2479.  
  2480.             c  Change current alias.  This will prompt for changes  to  the
  2481.                current  names and address.  If other aliases are tagged you
  2482.                will be asked if you want to create a group alias  from  the
  2483.                tagged aliases.  The original alias is replaced with the new
  2484.                information    in     your     individual     alias     file
  2485.                ($_H_O_M_E/._e_l_m/_a_l_i_a_s_e_s._t_e_x_t) and then added to the database (at
  2486.                the next alias resync).  Aliases that have been changed  are
  2487.                marked with an 'N' (for new) until the database is updated.
  2488.  
  2489.  
  2490.             d, u
  2491.                Delete or undelete an alias.  This allows the user  to  mark
  2492.                an  alias  for  deletion in the same fashion as on the index
  2493.                screen.  The deletions are not actually made until the  user
  2494.                returns  to  the  main  menu with the rrrr, qqqq, or iiii commands or
  2495.                resyncs the display with the $$$$ command.  Deletions on system
  2496.                aliases   are   not   allowed.   These  commands  (plus  the
  2497.                <<<<ccccoooonnnnttttrrrroooollll>>>>----DDDD and <<<<ccccoooonnnnttttrrrroooollll>>>>----UUUU versions) behave identically  to
  2498.                their index screen counterparts (see section 7, CCCCoooommmmmmmmaaaannnnddddssss).
  2499.  
  2500.  
  2501.             e  Edit the ._e_l_m/_a_l_i_a_s_e_s._t_e_x_t file.  The  user  alias  file  is
  2502.                edited  using  the  editor defined in the eeeeddddiiiittttoooorrrr variable in
  2503.                your ._e_l_m/_e_l_m_r_c file (see SSSSttttrrrriiiinnnngggg VVVVaaaarrrriiiiaaaabbbblllleeeessss  in  section  2).
  2504.                _n_e_w_a_l_i_a_s is run after the edit.
  2505.  
  2506.  
  2507.             f  Display fully expanded alias.  The currently selected  alias
  2508.                is  fully  expanded and displayed to the user.  This is most
  2509.                useful when working with group aliases.
  2510.  
  2511.  
  2512.             l  Limit the display.  You can limit the display by alias  type
  2513.                (person/group  or  user/system) or by search pattern on name
  2514.                or alias.  Otherwise, this works exactly like the limit com-
  2515.                mand on the index screen.
  2516.  
  2517.  
  2518.             m  Send mail to the current alias.  The  user  is  prompted  to
  2519.                compose a new mail message to be sent to the person or group
  2520.                specified by the selected alias.  If aliases are tagged  the
  2521.                message is mailed to the person(s) and/or group(s) specified
  2522.                by the tagged aliases.  Tags are cleared after  mailing  the
  2523.                message.
  2524.  
  2525.  
  2526.             n  Make a new user alias.  This prompts for a unique alias name
  2527.                and  then  for an address.  If the alias name is not unique,
  2528.                you are asked if you wish to replace the existing alias.  If
  2529.                aliases  are  tagged  you  are asked if you want to create a
  2530.  
  2531.  
  2532.           October 1, 1992                                           Page 38
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.           Elm Reference Guide                                   Version 2.4
  2539.  
  2540.  
  2541.                group alias from the tagged aliases.  The  information  pro-
  2542.                vided    is    added   to   your   individual   alias   file
  2543.                ($_H_O_M_E/._e_l_m/_a_l_i_a_s_e_s._t_e_x_t) and then added to the database  at
  2544.                the next alias resync.
  2545.  
  2546.  
  2547.             r or q or i
  2548.                Return.  Return to the index screen of the Elm program.  Any
  2549.                pending  deletions  are processed and newalias is run to up-
  2550.                date the database.  New additions are handled at  this  time
  2551.                as well.
  2552.  
  2553.  
  2554.             R or Q or I
  2555.                Quick return.  This behaves like the 'r' command except that
  2556.                you  are  never  prompted  for  answers to alias disposition
  2557.                questions.  Elm disposes of aliases according to  the  value
  2558.                set  for  the  aaaallllwwwwaaaayyyyssssddddeeeelllleeeetttteeee variable in your ._e_l_m/_e_l_m_r_c file
  2559.                (see BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).
  2560.  
  2561.  
  2562.             t  Tag.  Tag the current alias for  a  later  operation.  This
  2563.                command  (plus  the <<<<ccccoooonnnnttttrrrroooollll>>>>----TTTT version) behaves identically
  2564.                to its index screen counterpart (see section 7, CCCCoooommmmmmmmaaaannnnddddssss).
  2565.  
  2566.  
  2567.             x  Exit alias menu.  Exits the alias  menu  without  processing
  2568.                any deletions.  Aliases marked for deletion are unmarked and
  2569.                _n_e_w_a_l_i_a_s is not run, even if alias additions have been made.
  2570.  
  2571.           Additionally, the movement keys ('j', 'k', '+', '-',  etc.)  work
  2572.           in  the  same fashion as on the index screen (see section 7, CCCCoooommmm----
  2573.           mmmmaaaannnnddddssss).
  2574.  
  2575.  
  2576.           11110000....  EEEEllllmmmm aaaannnndddd SSSSiiiiggggnnnnaaaallllssss
  2577.  
  2578.           Elm can handle several standard UNIX _s_i_g_n_a_l_s to do  some  special
  2579.           processing.  Signals are interrupt messages sent from one program
  2580.           to another.  No detailed messages are sent, but a  properly  con-
  2581.           figured program (such as Elm) can watch for and handle these sig-
  2582.           nals.
  2583.  
  2584.           In particular, Elm watches for the following  signals  and  takes
  2585.           these actions:
  2586.  
  2587.           ALRM This is the alarm clock signal or time  warning.   Elm  uses
  2588.                this to wake itself up periodically and check for new mail.
  2589.  
  2590.  
  2591.  
  2592.           __________
  2593.           5. Currently only mmmmaaaaiiiillll, cccchhhhaaaannnnggggeeee, and _n_3_w  _a_l_i_a_s  support
  2594.           this.
  2595.  
  2596.  
  2597.           October 1, 1992                                           Page 39
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.           Elm Reference Guide                                   Version 2.4
  2604.  
  2605.  
  2606.           HUP  This  is   the   hangup   notice.    It   means   that   the
  2607.                terminal/modem/whatever  which  you have been using with Elm
  2608.                has become detached from the system where Elm  was  running.
  2609.                When  Elm gets this signal, it aborts all the pending opera-
  2610.                tions and exits, leaving your mailbox unchanged.
  2611.  
  2612.           USR1 This is the first user-defined signal.  When Elm  gets  this
  2613.                signal, it receives any pending mail, performs all the pend-
  2614.                ing operations (deletes), and exits leaving all unread  mail
  2615.                marked  as new.  This is the same as giving both the $$$$ and XXXX
  2616.                commands.
  2617.  
  2618.           USR2 This is the second user-defined signal.  When Elm gets  this
  2619.                signal, it receives any pending mail, performs all the pend-
  2620.                ing operations (deletes), and exits, leaving all unread mail
  2621.                marked  as old.  This is the same as giving both the $$$$ and QQQQ
  2622.                commands.
  2623.  
  2624.           You would only use these signals yourself under the most  unusual
  2625.           circumstances.   For  example, suppose you were using EEEEllllmmmm to read
  2626.           mail on _h_o_s_t__1.  You have many messages, most of which have  been
  2627.           read  and  filed (and therefore deleted), or simply deleted.  You
  2628.           have not yet resynchronized your mailbox ($$$$ command).  Now you go
  2629.           to lunch.  On your return, you're stopped at the door and told to
  2630.           take care of an emergency.  You go to another part of the  build-
  2631.           ing,  and  want  to read your mail to see what the emergency is -
  2632.           but you can't, because Elm is still running at your desk.
  2633.  
  2634.           What you really want  is  one  of  the  scenarios  given  in  the
  2635.           description  of  _H_U_P, _U_S_R_1 or _U_S_R_2.  Use your local _p_s command to
  2636.           find out what the _p_r_o_c_e_s_s _n_u_m_b_e_r of your Elm  session  is.   Then
  2637.           give the command
  2638.  
  2639.                kill -_X_X_X _p_r_o_c_e_s_s__n_u_m_b_e_r
  2640.  
  2641.           where _X_X_X is either "HUP", "USR1" or "USR2" and _p_r_o_c_e_s_s__n_u_m_b_e_r is
  2642.           the process number for your remote Elm session.  Your remote ses-
  2643.           sion will terminate with the actions noted above.
  2644.  
  2645.  
  2646.           11111111....  EEEExxxxppppeeeerrrrtttt MMMMaaaaiiiillll UUUUsssseeeerrrrssss aaaannnndddd DDDDeeeebbbbuuuuggggggggiiiinnnngggg tttthhhheeee MMMMaaaaiiiilllleeeerrrr
  2647.  
  2648.           There are some additional facilities available in the Elm  mailer
  2649.           for  those  people who are knowledgeable about mail protocols, or
  2650.           trying to debug/track down a problem.
  2651.  
  2652.           The hhhh (ddddiiiissssppppllllaaaayyyy  wwwwiiiitttthhhh  hhhheeeeaaaaddddeeeerrrrssss)  command  at  the  command  prompt
  2653.           displays  the current message ignoring the current setting of the
  2654.           wwwweeeeeeeedddd variable (see BBBBoooooooolllleeeeaaaannnn VVVVaaaarrrriiiiaaaabbbblllleeeessss in section 2).  This is most
  2655.           useful  for  answering  questions of the form "I wonder what this
  2656.           guy put in his header?" and such.  This command does not show  up
  2657.           on the mini-menu because it is somewhat esoteric, but it does ap-
  2658.           pear on the help screen.
  2659.  
  2660.  
  2661.  
  2662.           October 1, 1992                                           Page 40
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.           Elm Reference Guide                                   Version 2.4
  2669.  
  2670.  
  2671.           The @@@@ command at the command prompt outputs a screen of debugging
  2672.           information, including the number of lines and offsets of each of
  2673.           the messages in the current mailbox.
  2674.  
  2675.           The #### command at the command prompt displays  the  entire  stored
  2676.           "record structure" for the current message.
  2677.  
  2678.           The %%%% command displays the full computed return  address  of  the
  2679.           current message.
  2680.  
  2681.           Starting up Elm with the ----dddd (debug) option (see section  3,  CCCCoooommmm----
  2682.           mmmmaaaannnndddd  LLLLiiiinnnneeee  OOOOppppttttiiiioooonnnnssss) creates a file called _E_L_M:_d_e_b_u_g._i_n_f_o in your
  2683.           home directory which contains a wealth of useful information  (to
  2684.           me,  at least!) to aid in tracking down what errors are occurring
  2685.           and why.
  2686.  
  2687.           If there are any problems with Elm,  please try to  recreate  the
  2688.           error  with the debug option enabled and set to the highest level
  2689.           (11) before sending defect reports my way.
  2690.  
  2691.           One final note: all error names reported by the program are docu-
  2692.           mented in the _A_T&_T _S_y_s_t_e_m _V _I_n_t_e_r_f_a_c_e _D_e_f_i_n_i_t_i_o_n _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
  2693.           in eeeerrrrrrrrnnnnoooo(2).
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.           October 1, 1992                                           Page 41
  2728.  
  2729.  
  2730.  
  2731.